User:DTankersley (WMF)/misc/how to: map template




 * '''This how-to guide will focus on embedding a map into your page using Visual Editor's Map template and . If you'd like to add a map link to your page using wiki markup, like this:   to embed maps into pages that can be clicked on to view an interactive map. More detailed information about the Maps project can be found here.

Using the Map template
Adding a map to your page can be done using Visual Editor - by selecting "Map" from the "Insert" menu. Adding a map in this manner gives you the ability to:
 * * define physical size and alignment as displayed on the page
 * * coordinates of the center of the map - it's latitude and longitude
 * * zoom level of the map
 * * addition of push-pin markers, lines and polygons
 * * copy and paste GeoJSON data



How-to video
View a quick video showing how to use the Map template to add an embedded to a page.

Editing the map data
Once you've created your base map, you'll probably have some edits that you'd like to do to it, like change the color of an icon or add in an article link. Click here to find out how to edit the  data for more complex maps.

= Important notes =
 * The map template is currently only available on certain wiki projects - MediaWiki and WikiVoyage.
 * Map frame usage is currently only available on Russian, Hebrew and Catalan Wikipedias.
 * When using, there will always be a static map image in the article page
 * Clicking on the static map image will open up the interactive map in your existing tab, or - right click on the map image and open in a new tab or window.

Map frame simple sample
 The following simple code sample shows how to add a map that is embedded into your page, with a link to a Wikipedia article.

More complex  samples (using wiki markup) can be found here.

=See also =
 * Click here for step-by-step instructions on adding a map link to your page
 * Click here for step-by-step instructions on adding embedded maps to your page
 * Click here for more information on the Discovery Maps project
 * Click here to find out more about Kartographer
 * Click here to find our more about the tile server implementation (Kartotherian)
 * Terms of use and where the map data comes from
 * How to use dynamic maps on Wikivoyage