Extension:Maps/GeoJSON

From semantic-mediawiki.org
< Extension "Maps"(Redirected from Extension:Maps/GeoJSON)
Extension "Maps"Extension:Maps/GeoJSON
Maps extension
Overview
Installation and Configuration
Usage
Displaying maps
Customizing maps
Displaying GeoJSON
Geocoding
Converting coordinates
SMW integration
Storing coordinates
Aggregating onto a map
On this page


The #display_map parser function supports display of GeoJson.

Creating GeoJson[edit]

Since GeoJson is an open standard, there are many tools that allow you to create an consume GeoJson. A simple online visual map editor that outputs GeoJson is geojson.io.

GeoJson files[edit]

You can display GeoJson files with the #display_map parser function via the geojson parameter. These files don't have to be on your wiki. This is limited to Leaflet maps and only available in Maps 5.6 and above.

{{#display_map: Berlin
  | geojson=https://raw.githubusercontent.com/leakyMirror/map-of-europe/master/GeoJSON/europe.geojson
}}
Loading map...