Map Macro

Last modified by Justin Morgan on 2023/04/25 11:20

Description

Display an interactive geographical map

This macro does not supports inline mode.

Usage

Content

Information

Content is optional

Information to display as legend of the location mapped

Parameters

NameMandatoryDescription
locationYes

Location to map

widthNo

Width of the map in pixels.

heightNo

Height of the map in pixels.

zoomNo

The initial zoom the map will be focused at. Default is 15, which is about the size of a block of houses. 

errorsNo

Display a popup with the returned status code when it is anything other than "OK" (values: show(default)/hide)

locationTypeNo

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