GIScience / ors-map-client

Openrouteservice API web SPA client using VueJS, Vuetify and Vue2Leaflet
http://maps.openrouteservice.org
Apache License 2.0
106 stars 32 forks source link

Extra info is not shown for all route segments #443

Closed redfrexx closed 1 month ago

redfrexx commented 2 months ago

Client: heal.openrouteservice.org

When the routes are first shown, some route segments are not coloured according to the heat stress level. Instead, one just sees the red colour of the route. It seems to always be the last or some of the last route segments. When clicking on the button to show the heat stress levels on the left menu bar, the colors are added correctly.

Screenshot 2024-07-12 at 08 36 08

Request: https://heal.openrouteservice.org/#/directions/Klausenpfad,Heidelberg,BW,Germany/Im%20Neuenheimer%20Feld,Heidelberg,BW,Germany/data/55,130,32,198,15,97,4,224,38,9,96,59,2,24,5,192,166,6,113,0,184,64,14,0,232,3,102,32,78,1,216,5,96,191,0,88,6,96,1,128,70,107,240,6,142,179,11,160,38,38,248,171,17,161,76,171,10,12,3,113,22,45,95,159,82,244,105,48,96,203,143,58,108,250,81,98,202,153,54,196,25,209,1,196,4,0,14,169,224,68,77,135,40,0,94,80,2,218,225,108,92,229,232,16,1,155,192,0,219,162,224,129,249,66,160,2,208,3,187,34,4,3,89,32,3,153,152,128,251,161,251,163,67,162,33,128,133,227,102,66,186,184,230,195,162,194,165,88,217,216,58,128,251,249,7,160,3,234,91,35,67,34,186,212,131,71,163,193,36,0,88,218,33,37,117,130,96,1,185,53,251,33,130,160,194,225,50,18,115,128,77,54,66,4,2,186,186,34,135,247,161,161,54,33,64,236,2,248,159,155,35,140,67,194,193,79,238,160,111,100,56,3,105,133,103,67,193,96,128,2,235,156,129,196,97,160,40,27,56,217,171,224,216,96,186,168,54,146,93,10,131,88,64,54,136,84,46,29,66,4,195,244,218,205,105,172,222,99,132,89,121,186,189,1,188,39,23,54,128,121,120,103,19,144,0,0

redfrexx commented 2 months ago

It also happens with other extra infos as surface in the example blow. So it seems like it's also a general ORS web client issue.

Screenshot 2024-07-12 at 08 42 58
TheGreatRefrigerator commented 2 months ago

Hm, Probably due to it keeping the selected extra info.

TheGreatRefrigerator commented 1 month ago

This only comes up when an existing route is changed. The extra info was not updated properly and the old extra info mapped to the new route 😓 Will fix.