Index: lams_tool_gmap/web/includes/jsp/mapFunctions.jsp =================================================================== diff -u -r05d36b5c94acbf8595d4b481889b9fd25fe778c5 -rd697a4de98c3915e665e06207c1e382f24a7ff79 --- lams_tool_gmap/web/includes/jsp/mapFunctions.jsp (.../mapFunctions.jsp) (revision 05d36b5c94acbf8595d4b481889b9fd25fe778c5) +++ lams_tool_gmap/web/includes/jsp/mapFunctions.jsp (.../mapFunctions.jsp) (revision d697a4de98c3915e665e06207c1e382f24a7ff79) @@ -219,7 +219,7 @@ if (selectedMarker == -1 && markerSpanToSelect != null) { - document.getElementById("markerSpan" + id).style.backgroundColor = "orange"; + document.getElementById("markerSpan" + id).style.backgroundColor = "#FFFFCC"; selectedMarker = id; } else if (selectedMarker == id && selectedMarkerSpan!= null) @@ -230,7 +230,7 @@ else if (selectedMarkerSpan != null && markerSpanToSelect!= null) { document.getElementById("markerSpan" + selectedMarker).style.backgroundColor = ""; - document.getElementById("markerSpan" + id).style.backgroundColor = "orange"; + document.getElementById("markerSpan" + id).style.backgroundColor = "#FFFFCC"; selectedMarker = id; } } @@ -393,6 +393,31 @@ } } +// refreshes the page +function refresh() +{ + var i =0; + for (;i'); + if (ans) + { + location.reload(true); + return; + } + else + { + return; + } + } + } + location.reload(true); +} + + // Serialises the marker array into an xml string for processing on the back end function serialiseMarkers() {