stefanocudini / leaflet-layerJSON

Build dynamic JSON Layer via Ajax/JSONP with caching
https://opengeo.tech/maps/leaflet-layerjson/
MIT License
92 stars 28 forks source link

Allow custom hash generation #13

Closed nikolai-b closed 8 years ago

nikolai-b commented 8 years ago

This assumes that the data returned is LatLon and doesn't have an id. My data has polygons and has an id element.

Similar to https://github.com/stefanocudini/leaflet-search/pull/111 in that I could use filterData but I'd much prefer to just use my own id element.

stefanocudini commented 8 years ago

replaced from new option propertyId from version 0.2.0