Template:DisplayMap/doc

From PathfinderWiki
Golarion world map.jpg

This page is affiliated with the Map project.
Project leader: User:Virenerus and User:VestOfHolding
DiscussionPathfinderWiki talk:Map.

{{DisplayMap}} embeds an interactive map of an area from the Mapping project. For parameter usage, see its TemplateData.

This template employs Widget:Map for rendering.

Finding coordinate and zoom values

To copy latitude, longitude, and zoom values for use in {{DisplayMap}}, right-click on the desired point in the map and select "Copy Lat/Long".

An equivalent map of Absalom using this template could be defined as:

{{DisplayMap|zoom=10|latlong=30.87985, -0.23058}}

which results in:

Alternatively, you can browse to the location on https://map.pathfinderwiki.com and use the URL set in your browser's address bar, which represents the center point of the visible map.

For example, the URL https://map.pathfinderwiki.com/#location=10/30.87985/-0.23058 displays the city of Absalom at zoom level 10, with the center of the map at latitude 30.87985 and longitude -0.23058. The location parameter in the URL lists those values in that order.

Examples

Basic example

{{DisplayMap|latlong=40, 20|zoom=4}}

Specifying a size

{{DisplayMap|latlong=35.917, -0.464|height=300px|width=300px}}

As a floating thumbnail

{{DisplayMap|latlong=35.917,-0.464|align=right|name=Kortos|caption=[[Kortos]]|zoom=5}}

This example floats to the right of text, like an image thumbnail. This example floats to the right of text, like an image thumbnail. This example floats to the right of text, like an image thumbnail. This example floats to the right of text, like an image thumbnail. This example floats to the right of text, like an image thumbnail. This example floats to the right of text, like an image thumbnail.

As a point of interest

{{DisplayMap|latlong=35.917,-0.464|align=right|caption=[[Kortos]]|zoom=5|create=tower}}

This example creates a new {{Location of Interest}} of type tower.