Changes for page Homeopaths

Last modified by Jip-jan Alunkel on March 14, 20:13

From version 8.81
edited by Jip-jan Alunkel
on December 08, 16:37
Change comment: Renamed from xwiki:practices.WebHome
To version 8.79
edited by Jip-jan Alunkel
on December 08, 16:34
Change comment: Renamed from xwiki:practices.WebHome

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -5,3 +5,13 @@
5 5   }).addTo(map);
6 6   map.attributionControl.setPrefix('');
7 7  
8 + for (var i=0; i<markers.length; i++) {
9 + let lon = markers[i][0],
10 + lat = markers[i][1],
11 + popupText = markers[i][2],
12 + markerLocation = new L.LatLng(lat, lon),
13 + marker = new L.Marker(markerLocation);
14 + map.addLayer(marker);
15 + marker.bindPopup(popupText);
16 + }
17 +
XWiki.StyleSheetExtension[0]
Code
... ... @@ -4,4 +4,15 @@
4 4   height: 400px;
5 5   margin: 0 2rem;
6 6  }
7 -
7 +.leaflet-popup-content {
8 + margin: 0;
9 + line-height: unset;
10 + font-size: unset;
11 + min-height: 1px;
12 +}
13 +.leaflet-popup-content h4 {
14 + margin-top: 2rem;
15 +}
16 +.leaflet-popup-content address {
17 +
18 +}