This wiki is being moved to a new server and cannot be edited. Please sit tight. Thank you.

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 leaflet) or googlemaps
Starting December 16, 2018 with the release of version 7.0.0 of extension "Maps"Allows embedding of dynamic maps, geocoding and geospatial operations the support of the "OpenLayers" service was dropped. Use the "Leaflet" service instead. See "Remove OpenLayers service."

A query displaying results ...[edit]

... using the default mapping service (leaflet)[edit]

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

... using the Leaflet mapping service[edit]

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

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

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