XWiki - Map Macro

Page / - last modified by Jan Rhebergen on 2021/04/28 10:00

Map Macro

last modified by Jan Rhebergen

on 2021/04/28 10:00

Table of Contents

Description

Usage

Content

Parameters

Exemples

Simple map

Map with parameters

Map using geographic coordinate

Contents

Description

Usage

Content

Parameters

Exemples

Simple map

Map with parameters

Map using geographic coordinate

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

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