nekromoff / bicycle-master-plan

Bicycle Master Plan is a bike map that allows visualizing cycling related data from different sources in multiple layers. Built heavily around data from OpenStreetMap, it allows full visual customization using CSS.
https://mapa.cyklokoalicia.sk/bratislava/public/
GNU General Public License v3.0
11 stars 0 forks source link

Right click - add pin - active even if the specific layer is off #32

Closed AdrianChren closed 3 years ago

AdrianChren commented 3 years ago

The right click option (or on mobile holding one point on screen) is active, even when the layer "tipy a upozornenia" is not active. In that case, if the layer is not checkboxed, option for adding pin should be non-active. In case of checkboxed layer, option for adding pin should be active.

nekromoff commented 3 years ago

After thinking about this for a bit, this is more of a feature than a bug. Editable layer can be turned off, but adding a marker is always just a click/tap away. So closing.