";
+
+ // leave the user div open if it was already open
+ users[j].divOpen ? sideBarText += "
";
+
+ // add the markers created by this user to their div
for (i=0;i 16) {zoom = 16;}
+
map.setZoom(zoom);
map.panTo(bounds.getCenter());
}
+// string trim
function trim(x)
{
return x.replace(/^\s+|\s+$/g, '')
}
+// Update's the marker info window, and marker display based on it's state
function updateMarkerInfoWindowHtml(markerIn)
{
if (markerIn.state == "unchanged")
@@ -341,15 +393,17 @@
}
}
+// Serialises the marker array into an xml string for processing on the back end
function serialiseMarkers()
{
var xmlString = '';
var i =0;
for (;i');
if (!ans)
{
return false;