Visual Leaflet editor

From Maps for MediaWiki

You can add data to Leaflet maps using a visual map editor.

This editor needs to be enabled per map. When it is enabled, an edit icon will show below the zoom control to people with edit permissions.

The edit button that activates the editor
Map in edit mode after activating the editor

Activating the editor

The editor stores data on a separate page in the GeoJSON namespace.

Create a new page in that namespace by going to GeoJson:WhateverYourMapIsAbout. Click the

The edit button that activates the editor
{{#display_map: center=Berlin | geojson=LeafletEditorExample}}


Using the editor

Example

{{#display_map: center=Berlin | geojson=LeafletEditorExample}}
Loading map...