Template:Location map/doc

This template generates a location map as a composite image consisting of a map and a location mark. Optionally a label and caption can be added.

Usage
Map image files are not accessed directly but by using an auxiliary map definition template. For example, if the first unnamed parameter supplied to this template is "Japan", then this template uses the auxiliary template,   which contains the data needed to generate the composite image.


 * Please note:
 * Assigning any value to the parameter  causes the map to be displayed as a thumbnail image. If this parameter is not declared, the template will generate a default caption.
 * The coordinates are not checked. If the coordinates specified fall outside the area covered by the map image, the location mark will not display inside the image, however, it may be displayed somewhere else on the page.
 * Do not use  . Using  will usually cause a very large map to be displayed. Use.
 * To create a map with more than one location mark use Location map+.

Available map templates

 * Category:Location map templates - templates sorted by category
 * Special:Prefixindex/Template:Location map - another search that might help

Creating new map definition templates
See Creating a new map template.

Default width and float, no label, default caption (decimal coordinates)


Note: When a label is not specified, the default caption is "Page name (Map name)", so if this example was viewed on a page named Pag, the default caption would be "Pag (Croatia)". Likewise, on a page named Pag (town), the default caption would be "Pag (town) (Croatia)".

Map with the default caption (degrees/minutes)


Note: When a label is specified, the default caption is "Label text (Map name)", seen as "Pag (Croatia)" in this example.

Marker/Label outside of Map


Map with a custom caption and text background


Map with enlarged marker and label


Map with no caption or border


Relief parameter




AlternativeMap parameter




Map that crosses 180° meridian
