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.23.6.1 -r1.23.6.1.4.1 --- lams_tool_gmap/web/includes/jsp/mapFunctions.jsp 15 Apr 2009 03:07:26 -0000 1.23.6.1 +++ lams_tool_gmap/web/includes/jsp/mapFunctions.jsp 16 Sep 2009 06:46:42 -0000 1.23.6.1.4.1 @@ -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