This extension is enabled by default on Fandom.

Maps can be embedded in the pages of any community.

Adding a Map Visually


Using the Maps Editor to mark a point

Communities can use the MapEditor tool (Special:MapEditor) to create maps. Similar to a normal Google Map, you can zoom in and out and scroll to get to the point on the map you want to mark. You can then choose to mark a point, create a line, or draw a shape.

From thereon, you can mark more points or do more tasks until you are happy with the map presentation. If you want to change more of the external features of the map (which mapping service to use, what mode the map should display in), you can click "Edit Map Parameters".

Once you have completed work on the map, you can click "Export to Wiki Code". A pop-up will show with the wikitext that is required to be copy-pasted into the page you want the map to be embedded in.

Adding a Map Via Source Code


Marker clustering - one of the many unique features you can add to your Maps.

If you are familiar with the extension's syntax, you can always code the maps by hand. Otherwise, to insert a map using source code, you can use the syntax {{#display_map:}}. This function can be used in multiple ways:

  • To display a set of coordinates, you can use syntax like {{#display_map: 55.7557860, 37.6176330}} to display the exact coordinates of a place (in this case, it will be Moscow.)
  • To display a named location or address, you can use the syntax {{#display_map: Sydney Harbour Bridge, Australia}} to display the address or location recorded in Google Maps. You can also use syntax like {{#display_map: 123 Smith Street, Randomtown, Random Country}} or {{#display_map: Central Railway Station, NSW}} as long as you give the map enough information on where to find the point you are looking for (Country, State, Suburb, etc.)
  • To display multiple points the following syntax is used:
Point 1;
Point 2;
Point 3 etc...

There are plenty of options available for coding. A full list of things you can do with the Maps extension as well as the codes and examples you need to make your maps presentable are available here on the Mapping site. Please note that Fandom is running version 3.5 of the Maps extension.

See Also

Further help and feedback

Community content is available under CC-BY-SA unless otherwise noted.