Difference between revisions of "Maps"
From MadaCamp
CampMaster (talk | contribs) (→Example #1) |
CampMaster (talk | contribs) |
||
Line 1: | Line 1: | ||
− | == | + | <div style="max-width:600px;border:1px solid green;"> |
+ | {{#display_map: | ||
+ | -15.214232, 50.076107~[[Hotel Fitiavana]]~~; | ||
+ | |type=satellite | ||
+ | |service=google | ||
+ | |types=roadmap, satellite, hybrid, terrain | ||
+ | |width=auto | ||
+ | |height=400 | ||
+ | |zoom=18 | ||
+ | |enablefullscreen=yes | ||
+ | |searchmarkers=all | ||
+ | |controls=pan, zoom, type, scale | ||
+ | |resizable=yes | ||
+ | }} | ||
+ | </div> | ||
+ | |||
− | + | == zoom == | |
Zoom levels are between 1 and 20 | Zoom levels are between 1 and 20 | ||
Line 8: | Line 23: | ||
− | + | == width == | |
|width=auto | |width=auto | ||
Line 16: | Line 31: | ||
auto will stretch to the containing block | auto will stretch to the containing block | ||
− | + | == height == | |
|height=400 | |height=400 | ||
− | + | == centre (or center) == | |
The location which should be the centre of the map | The location which should be the centre of the map | ||
Line 34: | Line 49: | ||
If there is only one placemark, zoom level has to be defined for the map to show. | 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 | Add a filter search field for maps with many markers | ||
Line 49: | Line 64: | ||
Fullscreen mode is not working well on desktop and ipad | Fullscreen mode is not working well on desktop and ipad | ||
− | + | == resizable == | |
|resizable=yes | |resizable=yes | ||
Line 55: | Line 70: | ||
Makes the map resizable with the mouse at the map edges on a regular PC | Makes the map resizable with the mouse at the map edges on a regular PC | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- | <!-- |
Revision as of 15:26, 20 November 2020
Loading map...
Contents
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 with the mouse at the map edges on a regular PC
- https://maps.extension.wiki/wiki/Google_Maps_SMW_queries
- http://www.coastalwiki.org/wiki/Help:Semantic_maps
- https://www.mediawiki.org/wiki/Extension_talk:Maps
- https://maps.extension.wiki/wiki/Customizing_Google_Maps
- https://maps.extension.wiki/wiki/Displaying_Google_maps
- 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