brouter-web icon indicating copy to clipboard operation
brouter-web copied to clipboard

Layer with area from Overpass query prevents setting waypoints

Open mattsches opened this issue 3 years ago • 1 comments

In BRouter Web 0.16.0, I added a layer using the Overpass query rel[name=Wiesbaden]; which adds a nice overlay. But now I cannot set any waypoints within this overlay area anymore. Clicking on the overlay shows a tooltip containing the OSM keys and values; clicking outside of the overlay works as expected (see attached screenshot).

It would be great if the layer would only be a visual hint without affecting the functionality of the UI. If there is a way to display only the line of the boundary, that would also be fine.

I'm aware the Overpass API feature is quite new (and awesome, thanks for that!), but wanted to report this behaviour anyway.

ksnip_20210818-151923

mattsches avatar Aug 18 '21 13:08 mattsches

I guess we could either:

  • generally set the polygons to interactive: false, as there is also a marker to click, or
  • set interactive: false for the whole layer when any editing mode is activated

@stesie What do you think?

nrenner avatar Jul 13 '22 17:07 nrenner