Cambios para el documento Homeopaths
Última modificación por Jip-jan Alunkel el marzo 14, 20:13
Desde la versión 8.9
editado por Jip-jan Alunkel
el diciembre 06, 03:29
el diciembre 06, 03:29
Cambiar el comentario:
Renamed from xwiki:practices.WebHome
Hasta la versión 8.24
editado por Jip-jan Alunkel
el diciembre 08, 01:49
el diciembre 08, 01:49
Cambiar el comentario:
Renamed from xwiki:practices.WebHome
Resumen
-
Propiedades de página (1 modificado, 0 añadido, 0 eliminado)
Detalles
- Propiedades de página
-
- Contenido
-
... ... @@ -6,7 +6,35 @@ 6 6 #set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify': false})) 7 7 #set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify': false})) 8 8 9 -{{html wiki="true" clean="false"}} 9 +{{html wiki="false" clean="false"}} 10 +<p> 11 +All about homeopaths. 12 +</p> 13 +<div id="homeopaths_map"></div> 14 + 15 +<script> 16 + var map = L.map('homeopaths_map').setView([18, 10], 2); 17 + L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { 18 + maxZoom: 19, 19 + attribution: '' 20 + }).addTo(map); 21 + map.attributionControl.setPrefix(''); 22 + var markers = [ 23 + [ -0.1244324, 51.5006728, "Big Ben" ], 24 + [ -0.119623, 51.503308, "London Eye" ], 25 + [ -0.1279688, 51.5077286, "Nelson's Column<br><a href=\"https://en.wikipedia.org/wiki/Nelson's_Column\">wp</a>" ] 26 + ]; 27 + for (var i=0; i<markers.length; i++) { 28 + let lon = markers[i][0], 29 + lat = markers[i][1], 30 + popupText = markers[i][2], 31 + markerLocation = new L.LatLng(lat, lon), 32 + marker = new L.Marker(markerLocation); 33 + map.addLayer(marker); 34 + marker.bindPopup(popupText); 35 + } 36 +</script> 37 + 10 10 #set($form_start = { 11 11 "id": "homeoworld_form", 12 12 "product": "practice",