Modelo:Graph:Street map with marks/uso
![]() | Esta é a subpáxina de documentación de "Modelo:Graph:Street map with marks". Contén información de uso, categorías e outros contidos que non forman parte do modelo orixinal. Atención: As ligazóns interwiki engádense no Wikidata. |
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ámetro | Descrición | Tipo | Estado | |
---|---|---|---|---|
data | 1 | Comma separated list of JSON objects that describing what data to draw on the map | Cadea de caracteres | recomendado |
width | width | Total width of the graph | Número | opcional |
height | height | Total height of the graph
| Número | opcional |
padding | padding | sen descrición | Número | opcional |
lat | lat | Latitude do centro do mapa | Número | opcional |
lon | lon | Lonxitude do centro do mapa | Número | opcional |
zoom | zoom | Nivel de zoom do mapa (0..18) | Número | opcional |
wdqs | wdqs | 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 caracteres | opcional |
colorScaleField | colorScaleField | If given, this data field will be used to make dots of different color, one color per unique value of this field | Cadea de caracteres | opcional |
minimap | minimap | 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