Änderungen von Dokument Map Macro
Zuletzt geändert von xwikiadmin am 2024/01/25 22:03
Von Version 1.1
bearbeitet von xwikiadmin
am 2020/07/08 21:24
am 2020/07/08 21:24
Änderungskommentar:
Install extension [org.xwiki.contrib:xwiki-macro-map/2.1]
Auf Version 2.1
bearbeitet von xwikiadmin
am 2021/02/24 01:03
am 2021/02/24 01:03
Änderungskommentar:
Install extension [org.xwiki.contrib:xwiki-macro-map/2.1.2]
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Inhalt
-
... ... @@ -19,7 +19,7 @@ 19 19 20 20 == Content == 21 21 22 -The content is optional and is used only with Google Mapsfor displaying information in a popup activated on click. WithOpenStreetMap,a click leads to the [[OpenStreetMap routing service>>https://www.openstreetmap.org/directions]].22 +The content is optional and is used for displaying information in a popup activated on click. With Leaflet, if there is no content a click leads to the [[OpenStreetMap routing service>>https://www.openstreetmap.org/directions]]. 23 23 24 24 == Parameters == 25 25 ... ... @@ -64,6 +64,22 @@ 64 64 65 65 {{map location="47.156427, 27.576387" width="50%" locationType="latlng" /}} 66 66 67 +=== Map with information popup === 68 + 69 +Code: 70 + 71 +{{code}} 72 +{{map location="Rue des Thermopyles, 75014 Paris" width="400px" height="300px"}} 73 +A beautiful street in Paris 74 +{{/map}} 75 +{{/code}} 76 + 77 +Result: 78 + 79 +{{map location="Rue des Thermopyles, 75014 Paris" width="400px" height="300px"}} 80 +A beautiful street in Paris 81 +{{/map}} 82 + 67 67 === Map with custom tiles === 68 68 69 69 Code: ... ... @@ -80,7 +80,6 @@ 80 80 81 81 In order to use the Google Maps tiles, head to the map macro administration section as explained above, and select "Google Maps" library. In that case, you don't need to fill in any tile server as it is automatically set to the Google Maps one. 82 82 83 - 84 84 == Google Maps Events == 85 85 86 86 If you use the Google Maps library, the events listed below are available.