Example request: how to create a callback to remove the layer clicked
Closed this issue · 1 comments
araichev commented
Could you illustrate in one of your examples how to add a context menu function (callback) to a GeoJSON layer that removes the layer (the one clicked). I can't figure out how to pass the current layer to the callback function. Thanks for your attention.
aratcliffe commented
Hi Alex, see if this helps: #12