Leaflet Maps examples: Difference between revisions

From Maps for MediaWiki
m (Jeroen De Dauw moved page Leaflet Maps Examples to Leaflet Maps examples)
mNo edit summary
Line 96: Line 96:
  |zoom=3
  |zoom=3
}}
}}
== Markers, Polygons, Lines, etc ==
See [[Displaying Leaflet maps]]

Revision as of 22:51, 8 May 2020

Leaflet maps can be customized using various parameters.

This page lists examples. For an overview of available parameters and how to use them, see Customizing Leaflet Maps.

Layers

{{#display_map:
 |layers=OpenTopoMap,OpenStreetMap
 |zoom=1
}}
Loading map...

Overlays

{{#display_map:Calais; Dover
 |overlaylayers=OpenSeaMap
}}
Loading map...

Fullscreen

{{#display_map:Berlin
 |fullscreen=on
}}
Loading map...

Resizable

{{#display_map:New York City
 |resizable=on
}}
Loading map...

Click target

{{#display_map:Berlin
 |clicktarget=https://www.google.com/maps/@%lat%,%long%,8z
 |zoom=8
}}
Loading map...

Image layers

{{#display_map:image layers=NewYorkSubway.jpg, NewYorkSubwaySmall.jpg | geojson=NewYorkSubway }}
Loading map...

Markers, Polygons, Lines, etc

See Displaying Leaflet maps