diff options
author | Markus Koch <markus@notsyncing.net> | 2020-04-19 07:38:41 +0200 |
---|---|---|
committer | Markus Koch <markus@notsyncing.net> | 2020-04-19 07:38:41 +0200 |
commit | 657867309e110e842d36b960e7d6b8158eddccc9 (patch) | |
tree | 97b7535f7444157dc805fa720af25ea470664c5f /.gitignore | |
parent | c10f229f497a3520a7552ca068f1ce0b62ac818e (diff) | |
download | lifomapserver-657867309e110e842d36b960e7d6b8158eddccc9.tar.gz lifomapserver-657867309e110e842d36b960e7d6b8158eddccc9.tar.bz2 lifomapserver-657867309e110e842d36b960e7d6b8158eddccc9.zip |
Improve center-on-block feature
6284c9d8b45b4df112326c23037a5c7c2e0b89d0 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.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions