Parameters
- frame = if it equals 1, a frame is created. Default value: 1.
- infobox = if it equals 1, the size is ideal for an infobox.
- align = to align the map frame. Possible values: right, left or center. Default value: right.
- caption = optional caption of the map (ignored if frame = 0 or if infobox = 1).
- list = show a legend with the list of points. If it equals 1, a single column list is inserted; if equals 2, a two-columns list is inserted.
- width = width of the map in px. Default value: 350 (260 if infobox = 1).
- height = height of the map in px. Default value: 300 (260 if infobox = 1).
- group = name (not numerical) to identify the map.
- centre_lat, centre_lon = coordinates of the centre. If they are not omitted, the centre coordinates are calculated.
- zoom = scale of the OSM map; the value is between 0 (world) e 18. For a single point the default value is 10 (13 if infobox = 1).
- autozoom = if it equals y, the scale is calculated to show all points; if it equals n an automatic mapframe zoom is used. For a single point the default zoom value is 10. Default value: y.
- color = default color for all points. Default value: #B80000.
- symbol = default symbol for all points (see map below). Use -number to show numbers or -letter to show letters. Default value: -number.
- Points
- lat1, lat2, ... = latitude
- lon1, lon2, ... = longitude
- color1, color2, ... = color
- name1, name2, ... = name
- desc1, desc2, ... = description with links and images.
- symbol1, symbol2, ... = symbol (see map below). Use -number to show numbers or -letter to show letters. Default value: -number.
- size1, size2, ... = size. Values: small, medium, large. Default value: medium.
- Data
Examples
تحميل الخريطة...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"350px","height":"250px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[{"text":"\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EName\n\u003C/p\u003E\u003C/div\u003E","title":"Name\n","link":"","lat":41.740548,"lon":12.233389,"icon":""}],"imageoverlays":null}
{{Mapframe
|caption = Map caption
|symbol1 = village
|lat1 = 41.740548
|lon1 = 12.233389
|name1 = Name
|group = a
}}
تحميل الخريطة...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"350px","height":"250px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[{"text":"\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003ESorgente del \u003Ca href=\"/edit/Tevere?redlink=1\" class=\"new\" title=\"Tevere (\u0627\u0644\u0635\u0641\u062d\u0629 \u063a\u064a\u0631 \u0645\u0648\u062c\u0648\u062f\u0629)\"\u003ETevere\u003C/a\u003E\n\u003C/p\u003E\u003C/div\u003E","title":"Sorgente del Tevere\n","link":"","lat":43.786922,"lon":12.077667,"icon":""}],"imageoverlays":null}
{{Mapframe
|lat1 = 43.786922
|lon1 = 12.077667
|name1 = Sorgente del [[Tevere]]
|symbol1 = museum
|lat2 = 41.740548
|lon2 = 12.233389
|name2 = Foce del [[Tevere]] a [[Roma]]
|color2 = #008000
|symbol2 = restaurant
|lat3 = 48.856667
|lon3 = 2.351944
|name3 = [[Parigi]]
|color3 = #0000b8
|symbol3 = library
|gruppo = b
}}
تحميل الخريطة...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"350px","height":"250px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[{"text":"\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EPoint 1\n\u003C/p\u003E\u003C/div\u003E","title":"Point 1\n","link":"","lat":43.786922,"lon":12.077667,"icon":""}],"imageoverlays":null}
{{Mapframe
|list=1
|group = esempio-elenco
|lat1 = 43.786922
|lon1 = 12.077667
|name1 = Point 1
|lat2 = 41.740548
|lon2 = 12.233389
|name2 = Point 2
|lat3 = 48.856667
|lon3 = 2.351944
|name3 = Point 3
}}
تحميل الخريطة...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"350px","height":"250px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[],"imageoverlays":null}
{{Mapframe
|caption = Louvre
|centre_lat = 48.8610
|centre_lon = 2.3359
|zoom = 15
|data = {
"type": "ExternalData",
"service": "geoshape",
"ids": "Q19675"
}
}}
تحميل الخريطة...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"400px","height":"250px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[],"imageoverlays":null}
{{Mapframe
|caption = [[w:Autostrada A11 (Italy)|Autostrada A11 (Italy)]]
|width = 400
|centre_lat = 43.8187
|centre_lon = 10.7682
|zoom = 9
|data = {
"type": "ExternalData",
"service": "geoline",
"ids": "Q781975",
"properties": {
"stroke": "#07852c",
"stroke-width": 8
}
}
}}
Map with available symbols
تحميل الخريطة...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"550px","height":"425px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[{"text":"\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003Eaerialway\n\u003C/p\u003E\u003C/div\u003E","title":"aerialway\n","link":"","lat":0,"lon":0,"icon":""}],"imageoverlays":null}