From 0e95562f4774b2a5a1bb5ad290f5b05cc1a0be2a Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 27 Nov 2012 19:13:17 -0200 Subject: Cleanup --- gmap_arcgis.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gmap_arcgis.js b/gmap_arcgis.js index 3fb7c62..0cfd0b8 100644 --- a/gmap_arcgis.js +++ b/gmap_arcgis.js @@ -72,7 +72,7 @@ function gmap_arcgis() { gmapArcgisShowPolygons(Drupal.settings.gmap_arcgis.polygons); }, 5); - //setTimeout($.unblockUI, 10000); + //setTimeout(unblockUI, 10000); } // Add labels from a given ArcGIS MapServer Layer @@ -118,7 +118,6 @@ function showLabelsCallback(fields, content, icon) { // Show all defined polygons function gmapArcgisShowPolygons(polygons) { for (j = 0; j < polygons.length; j++) { - //showPolygons(polygons[j]['base'] + polygons[j]['service'], polygons[j]['layers']); showPolygon(polygons[j]); } } @@ -157,7 +156,7 @@ function showPolygon(polygon) { // Callback for showPolygon function showPolygonCallback(mapservicelayer, error) { map.addOverlay(mapservicelayer); - setTimeout($.unblockUI, 6000); + setTimeout(unblockUI, 6000); } // Add custom marker -- cgit v1.2.3