Difference between revisions of "Maps"

From MadaCamp
Jump to: navigation, search
(enablefullscreen)
Line 48: Line 48:
  
 
Fullscreen mode is not working well on desktop and ipad
 
Fullscreen mode is not working well on desktop and ipad
 +
 +
=== resizable ==
 +
 +
|resizable=yes
 +
 +
Makes the map resizable
  
 
== Example #1 ==
 
== Example #1 ==
Line 63: Line 69:
 
|searchmarkers=all
 
|searchmarkers=all
 
|controls=pan, zoom, type, scale
 
|controls=pan, zoom, type, scale
 +
|resizable=yes
 
}}
 
}}
 
</div>
 
</div>

Revision as of 15:13, 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.

If there is only one placemark, zoom level has to be defined for the map to show.

searchmarkers

Add a filter search field for maps with many markers

|searchmarkers=all

enablefullscreen

|enablefullscreen=no
|enablefullscreen=yes

If omitted, no fullscreen label is shown.

Fullscreen mode is not working well on desktop and ipad

= resizable

|resizable=yes

Makes the map resizable

Example #1

Loading map...