openmove / odh-mentor-otp

https://mobility.meran.eu
1 stars 3 forks source link

close popup on second click in map #165

Closed stefanocudini closed 1 year ago

stefanocudini commented 1 year ago

disable popup on second click and re-enable on the third click

Here is an example of logic: https://github.com/Keplerjs/Kepler/blob/master/packages/lib/client/L.Cursor.js

stefanocudini commented 1 year ago
Ghoster981 commented 1 year ago

I've started to work on it (here) but it's needed a better way too keep track of which popups are open.