From 1def03804a2081c0d0825279b526fa306eb14707 Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 13 Nov 2012 16:19:19 -0200 Subject: Minor cleanup --- gmap_arcgis.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gmap_arcgis.js b/gmap_arcgis.js index cf662e9..a5774ce 100644 --- a/gmap_arcgis.js +++ b/gmap_arcgis.js @@ -129,8 +129,8 @@ function showPolygons(uri, layers = undefined) { pol.setVisibleLayers(layers); } - //GEvent.addListener(pol,"load",function(g){ map.addOverlay(g);setTimeout($.unblockUI, 6000);}); - GEvent.addListener(pol,"load", showPolygonsCallback); + //GEvent.addListener(pol,"load",function(g) { map.addOverlay(g);setTimeout($.unblockUI, 6000);}); + GEvent.addListener(pol, "load", showPolygonsCallback); } // Callback for showPolygons @@ -156,7 +156,6 @@ function createMarker(point, name, html, icone) { // Add map overlays $(document).ready(function() { - //showOverlay(13000); google.setOnLoadCallback(gmap_arcgis); $('#edit-lista-uc').change(function() { oelem = $("option:selected", this).val(); @@ -164,7 +163,5 @@ $(document).ready(function() { GEvent.trigger(marcador.marker,"click"); $('#header').hide(); $('#nav').hide(); - - //get(Drupal.gmap.getMap('auto1map').vars.behavior); }); }); -- cgit v1.2.3