Skip to content

Commit

Permalink
first
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvin Metcalf committed Aug 8, 2013
1 parent 39e4534 commit e7aad12
Show file tree
Hide file tree
Showing 7 changed files with 4,228 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
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).
Loading

0 comments on commit e7aad12

Please sign in to comment.