Commit graph

27 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
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
Norbert Renner
944ccd6cfa Make default layers customizable 2019-03-22 19:50:45 +01:00
Norbert Renner
be7db71f4f Preview layer 2019-03-16 13:09:14 +01:00
Gautier Pelloux-Prayer
f54d72644b translate via i18next 2019-02-26 18:02:02 +01:00
Norbert Renner
8db4120ec8 Add option to configure the default base layer 2018-09-08 12:30:35 +02:00
Norbert Renner
da1808bb32 Only add location control in secure context (#60) 2018-08-31 14:24:43 +02:00
Sven Geggus
69bd3d8d1f
maxNativeZoom=19 for German style
German style is also available up to zoom level 19
2018-08-08 17:52:11 +02:00
Norbert Renner
59827a524f Restore (short) attribution on the map, closes #110 2018-07-03 20:41:26 +02:00
Norbert Renner
23e7eb073e Add Layers control as tab to sidebar 2018-03-08 11:47:44 +01:00
Norbert Renner
d08bc38719 Merge pull request #77 from bagage/feature/user-layers
Allow user to add custom layers
2017-05-20 12:59:26 +02:00
Gautier Pelloux-Prayer
9109322905 Use https scheme whenever possible, to avoid mixed content issues 2017-05-09 22:14:39 +02:00
Gautier Pelloux-Prayer
8dcf23b170 Allow user to add custom layers 2017-05-08 11:42:30 +02:00
Gautier Pelloux-Prayer
ac57250b7e Remove "/brouter?" from URL 2017-04-24 16:11:53 +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
Norbert Renner
0eba7f40be Merge branch 'v0.6-fixes' 2017-03-15 09:36:40 +01:00
Norbert Renner
98acb27f5f Add Thunderforest API key ("Hobby Project" plan), fixes #70 2017-03-14 19:02:11 +01:00
Gautier Pelloux-Prayer
d7e476db82 Updating UI to also fit on mobile devices. Fix #34 2017-01-23 10:47:28 +01:00
Norbert Renner
1e26cb1027 Add Esri World Imagery layer 2016-12-12 12:47:01 +01:00
Norbert Renner
b8566dbd12 Uncaught SecurityError now fixed in Leaflet.RestoreView 2016-10-07 12:57:39 +02:00
Norbert Renner
514cc705ef catch SecurityError with localStorage, fixes #47 2016-10-05 11:49:54 +02:00
Norbert Renner
b108efae5c switch icons to Font Awesome (for now) 2016-10-01 12:30:30 +02:00
Norbert Renner
d53fb7723f add DigitalGlobe Recent Imagery layer 2016-09-22 19:13:48 +02:00
Norbert Renner
a9f2b0cb18 add keys.js to configure API keys instead of specific ajax loading 2016-09-22 12:06:18 +02:00
Norbert Renner
0e471bade0 Replace custom Bing.js with current
Now provides file:// support and init on layer add instead of page load
2016-09-21 19:53:38 +02:00
Norbert Renner
0d30461ebc refactoring: extract scale & locate controls to Map.js 2016-08-05 12:32:29 +02:00
Norbert Renner
49ac7f5127 refactoring: extract map/layer init into separate file 2016-08-05 12:12:00 +02:00