summaryrefslogtreecommitdiff
path: root/htdocs/streeteditor.js
Commit message (Collapse)AuthorAge
* editor: Center on object after loading new coordsMarkus Koch2020-04-19
|
* editor: Add reverse backwards drawing mode and improve the reset handlerMarkus Koch2020-04-19
|
* editor: Make polyline clearableMarkus Koch2020-04-19
|
* editor: Add function to reset pathMarkus Koch2020-04-19
|
* Improve location historyMarkus Koch2020-04-19
| | | | | | | | Before, script initiated moves would mess with the history through hash updates partway through the move. This commit fixes this behavior by checking for a human source.
* editor: Prevent JS errors if no polyline has been drawn yetMarkus Koch2020-04-19
|
* Add jump-to-coordinates feature and location historyMarkus Koch2020-04-19
|
* Improve center-on-block featureMarkus Koch2020-04-19
| | | | | | | | | | | | | 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.
* Remove debug printMarkus Koch2020-04-18
|
* Add street editorMarkus Koch2020-04-17
Accessible by setting ?editor