Commit graph

50 commits

Author SHA1 Message Date
Anton Khorev
02257f7294 Allow specifying extra layer options in layers.yml 2024-12-07 19:21:36 +03:00
Anton Khorev
126a987aa8 Move layer definitions to yml 2024-11-22 03:16:20 +03:00
Anton Khorev
703990a5bb Move map layer ids/codes/keys to layer definition data 2024-11-22 01:06:22 +03:00
Anton Khorev
00270dd86e Collect map layer credits into a data structure 2024-11-21 20:24:02 +03:00
Anton Khorev
a638220ff7 Remove unused reference to missing gps layer name 2024-09-01 01:17:12 +03:00
Paul Norman
75a4d406b9 Remove OPNVKarte as a featured layer 2024-01-16 08:18:41 +00:00
Tom Hughes
3e8bbe70fb Add whitespace 2023-09-22 17:54:18 +01:00
Paul Norman
00d085ed5d
Add Tracestrack Topo as featured layer 2023-09-19 22:16:42 -07:00
Tom Hughes
a8ae7b2d3e Replace links to donate.osm.org with supporting.osm.org 2023-08-19 11:22:54 +01:00
Andy Allan
4cfb632b5e Rework the map attribution to avoid raw html in translations. 2023-04-02 10:14:00 +01:00
Anton Khorev
15d2efe2df Display icon for current note only if this icon is defined 2022-10-09 08:03:14 +03:00
Anton Khorev
6d5ba4651a Remove whitespace eslint complaining about 2022-10-05 23:15:34 +03:00
Tom Hughes
d8c1b28fde Add some whitespace for readability 2022-10-05 19:00:16 +01:00
Anton Khorev
ec34d22039 Treat notes as map objects 2022-10-04 15:40:25 +03:00
Anton Khorev
c02b131a29 Pan map when showing/hiding sidebars depending on ltr/rtl 2022-09-22 16:33:28 +03:00
Frédéric Rodrigo
bab39572a1 Add CyclOSM layer 2020-12-06 21:29:36 +01:00
Tom Hughes
79447e7549 Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01:00
Tom Hughes
92a4c1feff Fix eslint warning 2020-07-08 19:25:03 +01:00
Paul Norman
fb4aa31048
Add ÖPNVKarte layer 2020-06-25 20:47:25 -07:00
Tom Hughes
3184bec5ae Fix some untranslateable strings
Fixes #2565
2020-03-20 17:22:23 +00:00
Tom Hughes
6dd451c7ee Stop creating a shared global querystring variable 2019-07-15 20:28:54 +01:00
Tom Hughes
a47c0a4411 Update querystring references 2019-07-15 10:03:09 +01:00
Tom Hughes
492a640530 Enable a few more eslint checks 2019-07-14 12:08:02 +01:00
Tom Hughes
c4c0e8105a Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
Simon Poole
42a917b0a8 Reduce es lint moaning 2019-05-13 17:45:50 +02:00
Simon Poole
72d78db168 Move link to ToU to attribution footer 2019-05-13 16:54:29 +02:00
Tom Hughes
784d4ca03d Avoid error when there is no layer with a keyid
Fixes #2215
2019-04-24 11:12:50 +01:00
Tom Hughes
d8c6f0e375 Return correct base layer ID 2019-04-23 14:41:09 +01:00
Tom Hughes
5bd59e1936 Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
Tom Hughes
8030e7b5d6 Enable some more eslint checks 2019-04-06 17:27:17 +01:00
Tom Hughes
eb7678145a Use double quotes consistently in javascript code 2019-04-06 15:59:34 +01:00
Tom Hughes
87127d41e9 Enable some more eslint rules from iD rules 2019-04-06 15:48:51 +01:00
Tom Hughes
a7cdb0298d Limit map to the maximum zoom of the current base layer
Fix maximum zoom levels for various layers and ensure that the
map can't be zoomed beyond the limit of the current base layer.

Fixes #1978
2018-09-10 20:37:36 +01:00
Benoît
e1f37fcc84 Improve HOT layer attribution
The style is by HOT and the server is provided by OpenStreetMap France.

Closes #1882
2018-05-25 10:22:56 +01:00
Tom Hughes
be86e4824f Convert various URLs to https 2018-01-08 20:18:21 +00:00
Tom Hughes
4b43396ede Rename 'clickable' to 'interactive' per leaflet 1.x change 2017-02-24 23:10:12 +00:00
Tom Hughes
7a0766a5e6 Apparently some fool things the colon is part of the protocol 2017-02-18 15:38:14 +00:00
Tom Hughes
b170c06d5c Preserve protocol in standard links 2017-02-18 12:18:34 +00:00
Tom Hughes
77fee91785 Preserve protocol in short links 2017-02-18 12:08:58 +00:00
Tom Hughes
579e323d09 Only record a visible object if it exists
Fixes #1430
2017-02-08 09:54:14 +00:00
Tom Hughes
0ca8b0a327 Place GPS tiles in the overlayPane 2017-01-05 08:45:59 +00:00
Lars Sonchocky-Helldorf
df17b997b3 Add public gps tiles layer for debugging purposes
Fixes #1239
Closes #1406
2017-01-04 19:26:15 +00:00
Tom Hughes
f4a4632b45 Update leaflet to 1.0.0 2016-09-29 08:29:51 +01:00
Tom Hughes
322e7142ba Hide thunderforest layers when no API key is available 2016-09-08 17:28:54 +01:00
Tom Hughes
3eda7be919 Use an API key for thunderforest tile layers 2016-09-08 16:16:45 +01:00
Tom Hughes
fb234e2ecb Drop the MapQuest Open layer 2016-06-15 20:24:09 +01:00
Eric Theise
6403cb9b08 Add a Geo URI link to the share panel
Fixes #799
2015-06-25 17:56:03 +01:00
Tom Hughes
bd2e999756 Move some javascript functions out of global scope 2015-02-24 00:19:08 +00:00
Tom Hughes
1596713871 Fix some JSHint complaints 2015-02-23 21:45:57 +00:00
Tom Hughes
e256c837b5 Eliminate templating from most javascript 2015-02-23 21:45:57 +00:00
Renamed from app/assets/javascripts/leaflet.map.js.erb (Browse further)