GIScience / openrouteservice-app

:blue_car: The open source route planner app with plenty of features.
https://maps.openrouteservice.org
Apache License 2.0
223 stars 52 forks source link

Set route weightings is ignored and zeroed #309

Closed MichaelsJP closed 4 years ago

MichaelsJP commented 4 years ago

When I set the route weightings for green and quiet by hand e.g. 0.8 (see image) it's ignored and in the end zeroed. When I use the app up and down keys the values are set to integers (see image) instead of decimal values, even though the explanations state the values should be decimals.

So the example below would result in: {"weightings":{"green":4,"quiet":0}} instead of {"weightings":{"green":4,"quiet":0.8}}

image

TheGreatRefrigerator commented 4 years ago

This is a problem with the playground. I recreated the issue in the ors-website repository. https://gitlab.gistools.geog.uni-heidelberg.de/giscience/openrouteservice-infrastructure/ors-website/issues/91