diff options
author | Silvio <silvio@socioambiental.org> | 2012-11-27 19:13:17 -0200 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2012-11-27 19:13:17 -0200 |
commit | 0e95562f4774b2a5a1bb5ad290f5b05cc1a0be2a (patch) | |
tree | 0dfe02f9f5c373fb656d07c87710c61f7c35db26 /gmap_arcgis.js | |
parent | 91eca44eec04dcb93d0110884792c510e76bbe27 (diff) | |
download | gmap_arcgis-0e95562f4774b2a5a1bb5ad290f5b05cc1a0be2a.tar.gz gmap_arcgis-0e95562f4774b2a5a1bb5ad290f5b05cc1a0be2a.tar.bz2 |
Cleanup
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 |