aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gmap_arcgis.js7
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);
});
});