Semantic Maps examples/Customizing query maps

From semantic-mediawiki.org
Jump to: navigation, search
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

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

A query showing locations indicated with green markers:

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