leaflet-map
leaflet-map copied to clipboard
Add options-property to geojson-element
Providing an easy way to pass an options-object for initialising the GeoJson-element.
FYI : I think I got a better concept now by adding an additionalOptions-property (through an "LeafletOptionsContent"-Behavior) to Path, marker and geojson instead of this "only-geojson"-solution. If you are interested, you can check the changes here : https://github.com/Compufreak345/leaflet-map/pull/14 https://github.com/Compufreak345/leaflet-map/pull/15
I needed this by the way for using leaflet.textpath and saving some other metadata.