Anton Khorev
4f4808a9fd
Don't remove-readd standard layer when layerParam is not empty in map.updateLayers
2025-01-29 13:54:31 +03:00
Tom Hughes
09e802b86c
Merge remote-tracking branch 'upstream/pull/5563'
2025-01-28 18:44:07 +00:00
mmd-osm
0a6d1a8dab
DataLayer to consume JSON format responses
2025-01-27 22:56:40 +01:00
Anton Khorev
a7da2a5b39
Remove layersAdded variable from map.updateLayers()
2025-01-27 18:26:06 +03:00
Roman Deev
dae7a003fe
Use baselayerchange/overlaylayerchange instead of layeradd/layerremove for speed up Map Data layer render
2025-01-27 15:44:46 +03:00
Marwin Hochfelsner
01d8dba8ce
Allow map layers to specify an alternate tile set for dark mode
2025-01-18 11:50:54 +00:00
Anton Khorev
937d461106
Update arguments of data overlay interestingNode()
2025-01-07 11:26:15 +03:00
Anton Khorev
c887f1d7b2
Use details attribute to render changeset bounding box
...
Do this instead of using L.OSM.DataLayer. DataLayer makes an extra request just to get the bbox. Also it expects bbox to always exist, which is not true for some changesets.
2025-01-05 18:18:33 +03:00
Anton Khorev
2c84465cc2
Add map.getMapBaseLayer()
2024-12-18 18:31:46 +03:00
Anton Khorev
bfc8c5f6de
Rename 'keyid' layer option to 'layerId'
2024-12-10 01:23:41 +03:00
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