Simon Legner
76f31aeb2b
refact: use shorthand method and property syntax
2024-10-19 13:44:15 +02:00
Gautier P
25429b3c24
Update prettier version
2020-12-05 11:51:16 +01:00
Norbert Renner
ef41a9e5ff
Restore active layers ( #205 )
2019-06-18 09:14:08 +02:00
Gautier Pelloux-Prayer
970a34981f
Add prettier and reformat code
2019-05-17 20:55:39 +02:00
Norbert Renner
56b5c04a81
Set base layer z-index to 0, fixes #143
2019-04-03 20:56:56 +02:00
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
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