Description

Display an interactive geographical map

This macro does not supports inline mode.

Usage

Content

Content is optional

Information to display as legend of the location mapped

Parameters

NameMandatoryDescription
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

标签:
在2009/09/12 17:54上被shi chuck创建