From bf662e9949165d792c8d3d4fc5b6b9d1fa1e6ab6 Mon Sep 17 00:00:00 2001 From: bfabiszewski Date: Sun, 23 Jun 2013 00:17:28 +0200 Subject: various minor fixes --- api_gmaps.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'api_gmaps.js') diff --git a/api_gmaps.js b/api_gmaps.js index ce71491..968f9aa 100755 --- a/api_gmaps.js +++ b/api_gmaps.js @@ -26,7 +26,7 @@ var polyOptions; var mapOptions; var loadedAPI = 'gmaps'; function init() { -google.maps.visualRefresh = true; + google.maps.visualRefresh = true; polyOptions = { strokeColor: '#FF0000', strokeOpacity: 1.0, @@ -95,7 +95,7 @@ function displayTrack(xml,update) { } } -function clearMap(){ +function clearMap() { if (polies){ for (var i=0; i'; - //popup = new google.maps.InfoWindow({ - // content: contentString - //}); - //popup.open(map,markers[id]); - //altTimeout = setTimeout(function() { if (popup) {popup.close();} },2000); altTimeout = setTimeout(function() { markers[id].setIcon(icon); },2000); } }); -- cgit v1.2.3