Map Macro
Last modified by Justin Morgan on 2023/04/25 11:20
Contents
Description
Display an interactive geographical map
This macro does not supports inline mode.
Usage
Content
Information to display as legend of the location mapped
Parameters
Name | Mandatory | Description |
---|---|---|
location | Yes | Location to map |
width | No | Width of the map in pixels. |
height | No | Height of the map in pixels. |
zoom | No | The initial zoom the map will be focused at. Default is 15, which is about the size of a block of houses. |
errors | No | Display a popup with the returned status code when it is anything other than "OK" (values: show(default)/hide) |
locationType | No | Specify the type of location, possible values : address (default) or latlng ( in this case the location should be a geographic coordinate like : 47.156427, 27.576387) |
Exemples
Simple map
{{map location="10, rue Pernety, France"/}}
Map with parameters
{{map location="Rue des Thermopyles, 75014 Paris" width="400" height="300"}}A beautiful street in Paris{{/map}}
A beautiful street in Paris
Map using geographic coordinate
{{map location="47.156427, 27.576387" width="400" height="300" locationType="latlng"}}Our office is here{{/map}}
Our office is here