Map Macro
在2019/08/28 18:39上被shi chuck修改
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 | 是 | Location to map |
width | 否 | Width of the map in pixels. |
height | 否 | Height of the map in pixels. |
zoom | 否 | The initial zoom the map will be focused at. Default is 15, which is about the size of a block of houses. |
errors | 否 | Display a popup with the returned status code when it is anything other than "OK" (values: show(default)/hide) |
locationType | 否 | 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