lifo-dijkstraserv/htdocs
Markus Koch 657867309e Improve center-on-block feature
6284c9d8b4 introduced a feature to
center coordinate data on blocks by shifting the actual waypoints.
The problem with that approach is that it actually changes the
coordinates returned by any subsequent query to that geojson entry,
leading to coordinates like [0.5, 0.5] instead of [0, 0].

This commit removes the old translation code and instead shifts the
entire map. This means waypoints are still correct, and only the
visuals are affected. The correctness of new coordinate mapping has
been verified in-game and using the origin marker.
2020-04-19 07:38:41 +02:00
..
leafletjs Add street editor 2020-04-17 21:47:12 +02:00
tiles Move webserver stuff into htdocs directory 2020-04-14 21:31:25 +02:00
index.html Add street editor 2020-04-17 21:47:12 +02:00
mapscript.js Improve center-on-block feature 2020-04-19 07:38:41 +02:00
streeteditor.js Improve center-on-block feature 2020-04-19 07:38:41 +02:00