-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Doesn't Seem to work all of the time #25
Comments
Hi, can you please provide an example page where the error happens? |
It's not so much an error as it doesn't seem to remove the edge marker So in one case I monitor a change on the map like listenerService.listen('USER_SETTINGS_CHANGE'), function(settings){ but in the one where it's not working, Is below. No error is thrown it just doesnt do the removal. I have some similar code like edge markers is created above either of the listeners like this: listenerService.listen('RESULTS_PRESENT), function(results){ edgeMarker = new L.EdgeMarker({ edgeMarker.addTo(map); }); |
OH this is on an Intranet so I have no way to point you to a live example |
Sorry, I need a working example to debug your issue. |
Your demo doesn't work either @ubergesundheit that makes it hard for us to help ourselves. |
@SLCPS I fixed the demos, but I haven't done anything recently with the project and don't have time beyond fixing the demo. |
Hello,
I have a map with several layers that contain markers in each. When I remove a layer I'm trying to remove the edge marker for the markers that are no longer there. When I call .destroy, the markers don't go a way. The edge markers continue to point to makers that are no longer in the map. It works fine when I toggle all on and off but not for individual layers.
The text was updated successfully, but these errors were encountered: