Saltar ao contido

Modelo:Graph:Street map with marks/uso

Na Galipedia, a Wikipedia en galego.
Código Resultado
Mapa simple con marca simple, tamaño a medida, e sen minimapa
{{Graph:Street map with marks | width=800 | height=600 | lat=42.8806 | lon=-8.5443 | zoom=18 | minimap=false |

  { "lat": 42.8806, "lon": -8.5443 }

}}


Shows an image of a map, and draws user-specified images/icons on top of it using latitude/longitude coordinates.

Parámetros do modelo[Editar os datos do modelo]

ParámetroDescriciónTipoEstado
data1

Comma separated list of JSON objects that describing what data to draw on the map

Cadea de caracteresrecomendado
widthwidth

Total width of the graph

Númeroopcional
heightheight

Total height of the graph

Por defecto
Half of the width
Númeroopcional
paddingpadding

sen descrición

Númeroopcional
latlat

Latitude do centro do mapa

Númeroopcional
lonlon

Lonxitude do centro do mapa

Númeroopcional
zoomzoom

Nivel de zoom do mapa (0..18)

Númeroopcional
wdqswdqs

An optional Wikidata query to use instead of the data - the query would generate a list of items just like data, but it must contain a "coord" field with the location

Cadea de caracteresopcional
colorScaleFieldcolorScaleField

If given, this data field will be used to make dots of different color, one color per unique value of this field

Cadea de caracteresopcional
minimapminimap

If set, 0 or false will always hide the map, and 1 or true will always show it. Make sure the map is big enough include the minimap. By default, the map will be shown for zoom levels 5+ if the map is sufficiently large

Lóxico (booleano)opcional

Véxase tamén

Ligazóns externas