Skip to content

Problem with toggle button #588

Discussion options

You must be logged in to vote

The solution is to pass the isAddingMarker state to the Map element so it can decide whether the markers should be appended or not.

Also the event propagation must be stopped in the PopUp in order to prevent the creation of a new marker when removing an old one.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by onemanwenttomow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants