summaryrefslogtreecommitdiff
path: root/htdocs/mapscript.js
Commit message (Collapse)AuthorAge
* Fix x/y axis in goto commandMarkus Koch2020-04-19
|
* Fix goto function in editor modeMarkus Koch2020-04-19
|
* Implement basic searchMarkus 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.
* Center map on marker when clicking itMarkus 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.
* Center markers etc. on blockMarkus Koch2020-04-18
| | | | | Before, markers were set to the bottom left corner of a block. Now, it is nicely centered even on high zoom levels.
* Add streets GeojsonMarkus Koch2020-04-17
|
* Fail Geojson load silentlyMarkus Koch2020-04-17
|
* Add street editorMarkus Koch2020-04-17
| | | | Accessible by setting ?editor
* backend: Add support for streetsMarkus Koch2020-04-17
|
* Fix formattingMarkus Koch2020-04-17
|
* unify fetch scripts, add a lot more categoriesGabriel Pérez-Cerezo2020-04-15
|
* Fixed typoGabriel Pérez-Cerezo2020-04-15
|
* Fancy icons, shops, stationsGabriel Pérez-Cerezo2020-04-15
Added fancy actions (TODO: include script to install) * added fetcher script for shops * added fetcher script for stations * fixed thumbnails