Changes for page Homeopaths
Last modified by Jip-jan Alunkel on March 14, 20:13
From version 10.57
edited by Jip-jan Alunkel
on March 14, 20:01
on March 14, 20:01
Change comment:
Renamed from xwiki:practices.WebHome
To version 10.60
edited by Jip-jan Alunkel
on March 14, 20:02
on March 14, 20:02
Change comment:
Renamed from xwiki:practices.WebHome
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -26,7 +26,6 @@ 26 26 #end 27 27 #end 28 28 #set($address = "$doc.getTitle()<br />$x['pmStreet'] $x['pmHousenumber']<br />$x['pmPostcode'] $x['pmCity']<br />$x['pmCounty'] $x['pmState']<br />$x['pmCountry']") 29 -console.log("$address"); 30 30 #set($info = "<h4><a href='$xwiki.getURL($result_doc.documentReference)'>${stringtool.capitalize($result_doc.getDisplayTitle())}</a></h4><address>${address}</address>") 31 31 #set($discard = $map.put($info, $result_obj.getProperty("latlong").value)) 32 32 #end ... ... @@ -36,6 +36,8 @@ 36 36 #set($mapJSON = $jsontool.serialize(${map})) 37 37 #end 38 38 38 + console.log($mapJSON); 39 + 39 39 var mapJSON = $jsontool.parse($mapJSON), 40 40 markers = []; 41 41 for(const property in mapJSON) {