makinacorpus / Leaflet.FileLayer

Loads files locally (GeoJSON, KML, GPX) as layers using HTML5 File API
http://makinacorpus.github.io/Leaflet.FileLayer/
MIT License
270 stars 91 forks source link

interactivity #4

Closed bwyss closed 7 years ago

bwyss commented 11 years ago

great little app! Is there any way to add interactivity, something like click to view the attributes of the GeoJson?

leplatrem commented 11 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 :

Tell me if that answers your need !