Semantic Maps examples/Mapping service (queries)

From semantic-mediawiki.org
< Category:Semantic Maps examples
Semantic Maps examplesSemantic Maps examples/Mapping service (queries)
Table of Contents

To set the mapping service, provide the service name as the format option instead of 'maps', which gets you a map with the default service. Semantic Maps inherits the value for the default mapping service as set with the Maps extension.

This page shows examples for choosing a mapping service for rendering maps.

options / values
format / maps (default, same as googlemaps), googlemaps, openlayers or leaflet


A query displaying results ...[edit]

... using the Google Maps v3 mapping service[edit]

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

... using the OpenLayers mapping service[edit]

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

... using the Leaflet mapping service[edit]

NoteNote:  This is available starting with Extension "Maps" version 3.2

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