-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Calvin Metcalf
committed
Aug 8, 2013
1 parent
39e4534
commit e7aad12
Showing
7 changed files
with
4,228 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
leaflet.shapefile | ||
================= | ||
|
||
requires [shapefile-js](https://github.com/calvinmetcalf/shapefile-js) plus if you want it | ||
to be done in a worker, you'll need [catiline](https://github.com/calvinmetcalf/catiline). | ||
|
||
usage: | ||
|
||
```javascript | ||
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 of the file.shp (this assumes file.dbf exists). |
Oops, something went wrong.