Difference between revisions of "Maps"

From MadaCamp
Jump to: navigation, search
Line 1: Line 1:
 +
== Parameters ==
 +
 +
=== zoom ===
 +
 +
Zoom levels are between 1 and 20
 +
 +
|zoom=18
 +
 +
 +
=== width ===
 +
 +
|width=auto
 +
 +
pixels or percentage
 +
 +
auto will stretch to the containing block
 +
 +
=== height ===
 +
 +
|height=400
 +
 +
=== centre (or center) ===
 +
 +
The location which should be the centre of the map
 +
 +
|centre=-14.254318, 50.157051
 +
or
 +
|center=-14.254318, 50.157051
 +
 +
If centre is omitted, center depends on the placemarks.
 +
 +
If zoom is omitted, zoom level will be set to fit the placemarks.
 +
 +
  
  
Line 11: Line 45:
 
|width=auto
 
|width=auto
 
|height=400
 
|height=400
|zoom=18
 
 
|enablefullscreen=yes
 
|enablefullscreen=yes
 
|controls=pan, zoom, type, scale
 
|controls=pan, zoom, type, scale
Line 41: Line 74:
 
* https://maps.extension.wiki/wiki/Displaying_Google_maps
 
* https://maps.extension.wiki/wiki/Displaying_Google_maps
 
* https://github.com/JeroenDeDauw/Maps/blob/master/INSTALL.md#platform-compatibility-and-release-status
 
* https://github.com/JeroenDeDauw/Maps/blob/master/INSTALL.md#platform-compatibility-and-release-status
 +
* http://edutechwiki.unige.ch/en/Maps_(MediaWiki_extension)
 +
* https://maps.extension.wiki/wiki/Visual_Leaflet_editor

Revision as of 14:47, 20 November 2020

Parameters

zoom

Zoom levels are between 1 and 20

|zoom=18


width

|width=auto

pixels or percentage

auto will stretch to the containing block

height

|height=400

centre (or center)

The location which should be the centre of the map

|centre=-14.254318, 50.157051

or

|center=-14.254318, 50.157051

If centre is omitted, center depends on the placemarks.

If zoom is omitted, zoom level will be set to fit the placemarks.



Example #1

Loading map...