hfc971 / leaflet.filegdb

use an ESRI file geodatabase in leaflet

Home Page:http://calvinmetcalf.github.io/leaflet.filegdb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leaflet.FileGDB

requires filegdb.js plus if you want it to be done in a worker, you'll need catiline (in a worker filegdb needs to be accessible by the path fgdb.js relative to the document).

usage:

new L.FileGDB(url[,options]);

L.fileGDB(url[,options]);

Options are passed to L.Geojson as is. First argument is the url of a zipped file GeoDatabase.

All feature classes in the geodatabase are added to the same layer, if you need more fine grained control you should probably use filegdb.js directly.

The loading events work with leaflet.spin

If you don't know what a File GeoDatabase is count yourself lucky and move along.

About

use an ESRI file geodatabase in leaflet

http://calvinmetcalf.github.io/leaflet.filegdb

License:MIT License


Languages

Language:JavaScript 96.6%Language:CSS 2.9%Language:HTML 0.5%