Semantic Maps examples/Customizing query maps

From semantic-mediawiki.org
< Category:Semantic Maps examples
Semantic Maps examplesSemantic Maps examples/Customizing query maps

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[edit]

A query with the maps width and height specified:

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

Marker icons[edit]

A query showing locations indicated with green markers:

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