Parametro | Tipo | Predefinito | Descrizione |
---|---|---|---|
zoom | numero intero | no | The zoom level for the map. For maps with markers this will default to the most zoomed in level that still shows all markers. |
width | numero e unità di misura | auto | Allows setting the width of the map. By default pixels will be assumed as unit, but you can explicitly specify one of these units: px, ex, em, %. |
height | numero e unità di misura | 350 | Allows setting the height of the map. By default pixels will be assumed as unit, but you can explicitly specify one of these units: px, ex, em. |
centre | testo | no | The location on which the map should be centered |
title | testo | vuota | Allows setting text that will be displayed in the pop-ups of all markers that do not have a specific title.
When used together with label, the title will be bold and underlined. |
label | testo | vuota | Allows setting text that will be displayed in the pop-ups of all markers that do not have a specific label. |
icon | testo | vuota | Allows setting the icon used for all markers. |
lines | Elenco di linee | vuota | Linee da visualizzare |
polygons | Elenco dei poligoni geografici | vuota | Poligoni da visualizzare |
circles | Elenco di cerchi | vuota | Circles to display |
rectangles | Elenco di rettangoli | vuota | Rettangoli da visualizzare |
maxzoom | numero intero | no | Il livello massimo di ingrandimento |
minzoom | numero intero | no | Il livello minimo di ingrandimento |
copycoords | sì/no | no | Show a dialog when clicking on a marker from which its coordinates may be copied |
static | sì/no | no | Rendi la mappa statica |
defzoom | numero intero | 14 | Permette l'impostazione del livello di ingrandimento predefinito della mappa. |
layers | elenco dei testi | OpenStreetMap | The layers that will be available in the layer selector. The first layer will be shown when the map loads. |
image layers | elenco dei testi | vuota | Image base layers. The first layer will be shown by default. If any images are specified, they will be used instead of the regular map layers. |
overlays | elenco dei testi | vuota | The overlay layers that will be shown when the map loads. |
resizable | sì/no | no | Makes the map resizable by dragging at its lower right corner. |
fullscreen | sì/no | no | Attiva bottone a tutto schermo |
scrollwheelzoom | sì/no | yes | Indicates if mouse scrolling should be enabled or not. |
cluster | sì/no | no | Allows merging of multiple nearby markers into one marker |
clustermaxzoom | numero intero | 20 | Il massimo livello di zoom in cui i cluster possono esistere. |
clusterzoomonclick | sì/no | yes | Se il comportamento predefinito quando si clicca su un cluster è di fare lo zoom su di esso. |
clustermaxradius | numero intero | 80 | Il raggio massimo coperto da un cluster. |
clusterspiderfy | sì/no | yes | When you click a cluster at the bottom zoom level we spiderfy it so you can see all of its markers. |
geojson | testo | vuota | URL of a file or name of the page containing GeoJSON data |
clicktarget | testo | vuota | When clicking on the map you will be sent to this URL. %lat% is replaced by the latitude and %long% by the longitude |