Closed bwyss closed 7 years ago
You can add interactivity with the Leaflet API on GeoJSON layers as usual.
There are two "hooks" for this, as shown in Usage paragraph in the readme :
layerOptions
in the Control constructor, that will be passed to the GeoJSON layer constructore.layer
object with the data:loaded
eventTell me if that answers your need !
great little app! Is there any way to add interactivity, something like click to view the attributes of the GeoJson?