User:Dan Shick (WMDE)/Drafts/Help:VisualEditor:Maps

Adding maps with the visual editor


To add a new map to the page, select "Insert" in the Visual Editor tool menu. Click "More" to show the entire menu, then select "Map". This will add a map at the current location of your cursor on the page.



The dialog window displays an interactive map with three tabs below it: "Map area" (selected by default), "Map contents" and "Options". To set a location, drag the center and corners of the interactive map and use the "+" and "-" buttons on the top corner of the map to change the zoom level until the interactive map displays the area you want. You can also manually enter latitude, longitude, zoom level and size in the fields below the map.



To add shapes and markers to the map, click the "Map contents" tab to display a toolbar. After adding an element, use the pencil icon in the map toolbar to modify it. You can also paste valid GeoJSON into the text field.





When you're done, click "Insert" (the button at the window's top corner) to create your map on the page, closing the dialog.



In the "Options" tab you can change the map's alignment on the page and select a language for map labels. Note: Not all labels are available in every language. (1>Help:Extension:Kartographer#Map languages|More information on map languages).



To edit an existing map's properties, select the map and then click the "Edit" button that appears.

To resize an existing map, select the map in the VisualEditor and then move the resizing arrows that appear on the bottom of the map. Note that this only changes the size of the map's frame on the page, not the zoom level nor any other of the map's properties.

To change a map's position on the page, select the map and then drag the map to its new location.

Removing maps with the visual editor
To remove a map, select it and, on your keyboard, press the Delete key or the CTRL-X key combination. You can also select "Cut" from your browser's "Edit" menu.

Advanced map settings
For advanced options in editing and marking up Kartographer maps, please see .