[LeafletJS - Reactive] GeoJson and polygon click events

Forge Component
Published on 22 Jun by Vincent Koning
5 votes
Published on 22 Jun by Vincent Koning


First of all thank you for sharing this component!

I am importing GeoJson to the Leaflet js map but the click events dont seem to be triggering. I have added a client action as per the demo for the map and turned debugging on but when I click one of my imported shapes the objectName is empty.

Are there any known missing features or issues around this that you are aware of?


Hi Adam,

GeoJson is a bit of a strange thing in the solution. I use the native capabilities of Leaflet for this and to be fair, I don't think I have tested GeoJson with events. I'll look into it and come back to you. 

Kind regards,