Examples/Customizing query maps

From Mapping on MediaWiki
< ExamplesThis is the approved revision of this page; it is not the most recent. View the most recent revision.
Jump to: navigation, search

These examples show various ways you can customize your maps by specifying additional properties. There are several general properties that can be used for all query maps, as well as properties unique to the used mapping service.

Map size

A query with the maps width and height specified:

{{
#ask:
[[Category:Locations]]
| ?Has coordinates
| format=map 
| width=800
| height=250
}}
Loading map...

Marker icons

A query showing locations indicated with green markers:

{{
#ask:
[[Category:Locations]]
| ?Has coordinates
| format=map 
| icon=Green_marker.png
}}
Loading map...