I've been using OpenLayers for years,instead of comparing OL & Leaflet libraries,I decided to use Leaflet for the job for now.

I have a GeoJSON data layer where I show point objects only.Just as I have used in OpenLayers,when user hovers(which is supplied with leaflet) & toggle click where I should change style of vector(s) (mostly color).I cannot find this event system in leaflet.

Is there any way to do this ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.