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

Missing elevation data in quality coding freezes the map layer

Open gerion0 opened this issue 3 years ago • 2 comments

Some routes in Norway (I guess if they belong to a ferry line where some keys are missing) freeze the map layer. You cannot drag it with the mouse anymore and clicking in it does not work.

An example is this link: https://brouter.m11n.de/#map=12/60.0736/5.4358/CyclOSM,Waymarked_Trails-Cycling,Smoothness,route-quality&lonlats=5.436859,60.161993;5.335922,59.942872&profile=m11n-gravel Also, the track remains gray.

For ferry connections in denmark I see no problem, also the heightdata of the ferry line is shown.

Reproduced with Firefox and Qutebrowser (QtWebEngine/Blink).

gerion0 avatar May 16 '22 07:05 gerion0

Seems like a bug with the route quality color coding.

Workaround until someone finds the time to fix it: Disable the route color coding, see screenshot for the button state which works fine.

20220516T095016-lifa7 .

mjaschen avatar May 16 '22 07:05 mjaschen

This because of missing elevation data above 60° north and also occurs with the old version on brouter.de, so not related to recent straight line changes.

I had the same root error with straight lines, but not so easy to patch because the relevant method is in private context, so better fixed by making a PR (and probably forking).

nrenner avatar May 16 '22 15:05 nrenner