Darakah / obsidian-map

Use leaflet to generate an interactive map with all geo / temporal tagged notes linked and displayed on the map
20 stars 2 forks source link

Stuck Mouse Event (FreeDraw Package Problem) #3

Closed Darakah closed 3 years ago

Darakah commented 3 years ago

Setting the mode of the free draw layer to edit only is not removing the mouse listener causing bad experience and annoyance ... the only way to remove this handler is to remove the layer from the map ... however, this causes the problem of loosing current draw info ... which is more annoying then this ...

Try to find a solution to silence whatever is causing this , tried to remove all handlers but that did not stop it ... i am starting to think it is a result of the layer itself in which case nothing can be done.

Darakah commented 3 years ago

Couldnt find a way around this ... added normal draw and export and an edit option to pause while using free draw. When switching off the edit, have to click a far away place to remove the residuals of the mouseover while editing.