diff options
Diffstat (limited to 'gmap_arcgis.js')
-rw-r--r-- | gmap_arcgis.js | 5 |
1 files 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 |