Commit graph

16 commits

Author SHA1 Message Date
Norbert Renner
282edbbc01 Prevent unnecessary tile loading for default base layer
by only setting it if no layer activated by hash URL
2019-04-03 12:41:39 +02:00
Norbert Renner
d60b1ad15f Use layer id instead of name for hash
- to make it work across languages and on translation changes
- with legacy support for old names
2019-04-02 22:00:32 +02:00
Norbert Renner
f5c952a0eb Refactor hash layers 2019-04-01 21:07:26 +02:00
Norbert Renner
d83ffa3fbc Support optional and custom layers in hash URL
- extend layer control to get current active layers (and more)
- access layer control in hash instead of static initial list
- use ',' layer separator and encode layers individually, so that comma
in layer name gets encoded and is not mistaken as separator as with '-'
2019-03-29 22:20:52 +01:00
Gautier Pelloux-Prayer
5bd679a282 Fix fullhash feature 2017-05-02 16:24:20 +02:00
Gautier Pelloux-Prayer
915189b171 Reduce changes with upstream 2017-04-28 10:35:06 +02:00
Gautier Pelloux-Prayer
3d3dd376a4 Use & instead of ? in URL 2017-04-28 10:24:14 +02:00
Gautier Pelloux-Prayer
4a431ac4bf Fix URL 2017-04-24 17:00:19 +02:00
Gautier Pelloux-Prayer
ab85ec31e1 Support old style URLs 2017-04-24 16:47:38 +02:00
Gautier Pelloux-Prayer
2188183d3f Fix multi layers support 2017-04-24 16:23:36 +02:00
Gautier Pelloux-Prayer
cc5da47cad Revert "Extends Leaflet-fullhash properly"
This reverts commit 3a06009cba7e74600bb7a1ed0c511cfa8e1c7ffc.
2017-04-24 16:11:53 +02:00
Gautier Pelloux-Prayer
d4c5ca67b9 Extends Leaflet-fullhash properly 2017-04-24 16:11:53 +02:00
Gautier Pelloux-Prayer
ac57250b7e Remove "/brouter?" from URL 2017-04-24 16:11:53 +02:00
Gautier Pelloux-Prayer
9b52a938ab Fix load when layer contains spaces 2017-04-24 11:53:57 +02:00
Gautier Pelloux-Prayer
3b7494b9d9 Fix route drawing on page reload 2017-04-24 11:42:42 +02:00
Gautier Pelloux-Prayer
e82f360d9c Replace permalink/Share URL feature with automatic URL rewriting on change. 2017-04-04 10:27:51 +02:00