Index: lams_tool_gmap/web/includes/jsp/mapFunctions.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_gmap/web/includes/jsp/mapFunctions.jsp,v diff -u -r1.24 -r1.25 --- lams_tool_gmap/web/includes/jsp/mapFunctions.jsp 15 Apr 2009 04:25:52 -0000 1.24 +++ lams_tool_gmap/web/includes/jsp/mapFunctions.jsp 16 Sep 2009 06:47:23 -0000 1.25 @@ -436,6 +436,13 @@ // Serialises the marker array into an xml string for processing on the back end function serialiseMarkers() { + if (!(markers)) + { + var xmlString = ''; + } + else + { + var xmlString = ''; var i =0; for (;i