abdulrehmanch112 / leaflet.shapefile

Shapefile in Leaflet

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leaflet.shapefile

requires shapefile-js plus if you want it to be done in a worker, you'll need catiline.

usage:

new L.Shapefile(arrayBuffer or url[,options]);

L.shapefile(arrayBuffer or url[,options]);

Options are passed to L.Geojson as is. First argument is either an array buffer of a zipped shapefile, the url to a zipped shapefile, or the url to file.shp (this assumes file.dbf exists).

About

Shapefile in Leaflet

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

License:MIT License