Help:Map format

The Maps extension can aggregate geographical data stored in Semantic MediaWiki onto dynamic and interactive maps such as Google Maps. Each coordinate is shown as a marker on the map, with associated data being displayed when clicking the marker. Coordinate aggregation is done via the Leaflet result format.

Syntax
The map result format can be used in inline queries and in other semantic queries.

Simple query
For more information on the query syntax, see the SMW inline query documentation.

Distance query
A distance query for all cities within a 420 km radius of Brussels, using the Distance Popup template:

Compound query
This example makes use of the Semantic Compound Queries extension to pick the used marker per type of location.

Customizing maps
When using, the default mapping service is used. Use  or   to specify which mapping service should be used. See their respective documentation pages for mapping service specific customization options and examples.


 * Leaflet result format
 * Google Maps result format