diff options
author | Silvio <silvio@socioambiental.org> | 2012-11-13 16:19:19 -0200 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2012-11-13 16:19:19 -0200 |
commit | 1def03804a2081c0d0825279b526fa306eb14707 (patch) | |
tree | e701d2d82cf44866b0372f33796eb44e47e77376 /gmap_arcgis.js | |
parent | 24e6236e58c30f8156657f1144149391ca51e8dc (diff) | |
download | gmap_arcgis-1def03804a2081c0d0825279b526fa306eb14707.tar.gz gmap_arcgis-1def03804a2081c0d0825279b526fa306eb14707.tar.bz2 |
Minor cleanup
Diffstat (limited to 'gmap_arcgis.js')
-rw-r--r-- | gmap_arcgis.js | 7 |
1 files 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); }); }); |