User:CKoerner (WMF)/Visual editor maps

Adding maps with the visual editor


To add a new map to the page, press the "Map" icon (a picture of a folded map) in the "Insert" menu. You may have to click the "More" label to see the Map option. The map will be added wherever your cursor is.



Pressing the "Map" icon opens a dialog that displays an interactive map you can position to your liking. You can drag the location and use the "+" and "-" buttons to zoom the map.

You can define the size of the map, alignment, and the requested language for map labels. Note, not all labels are available in every language.

You can also add markers, lines, and polygons to your map. Once added, push the pencil icon in the map toolbar to change the feature's properties.



The current position label beneath the map shows you the latitude, longitude, and zoom level of the center of your map. Navigating the map preview will change these values.

When you're done, press "Insert" to close the dialog and insert your map into the page.





For an existing map, you can add or edit alignment or other settings by pressing on the map, then pressing on the "Edit" icon that appears below the map.

You can resize an existing map by pressing on it, then moving the resize icon (the two-headed arrow on one or both bottom corners).

You can also drag and drop an map to a place higher or lower on the page.

---

For advanced map settings, like for markers, custom shapes, or other GeoJSON settings, please see xxx (section).