Extension:Maps/GeoJSON

The  parser function supports display of GeoJSON.

Creating GeoJSON
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
You can display GeoJSON files with the  parser function via the   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.

GeoJSON pages
Since version 6.0, you can store your GeoJSON in wiki pages that are in the GeoJson namespace. For instance GeoJson:Berlin. You can use this GeoJSON in the  parser function via the   parameter, by giving it the page name. The GeoJSON stored in a page can be used by as many maps as you like.

The pages in the GeoJson namespace make sure they contain valid JSON. Once saved, the pages show a preview of the GeoJSON on a Leaflet map.

Since version 6.7 pages in the GeoJson namespace contain a visual map editor. The editor is only shown to those with permissions to edit the page.

Limitations
As of version 7.15:


 * No Semantic MediaWiki integration
 * Marker styles cannot be changed
 * No visual editing of shape styles
 * Only Leaflet supports GeoJson
 * The preview maps on GeoJson pages cannot be customized via wikitext or configuration
 * https://github.com/JeroenDeDauw/Maps/projects/1

You can hire Jeroen De Dauw (creator of Maps) to work on the above via Professional.Wiki.