diff options
author | Silvio <silvio@socioambiental.org> | 2012-11-14 15:33:07 -0200 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2012-11-14 15:33:07 -0200 |
commit | de75c249146ba73aec50730b343a17945ffa26c4 (patch) | |
tree | efaff43eb70e5f0370a2ba9f0142687fad41c10f /gmap_arcgis.js | |
parent | 7738b0f7b99eeeeaab3d9467928e63d7b59383dd (diff) | |
download | gmap_arcgis-de75c249146ba73aec50730b343a17945ffa26c4.tar.gz gmap_arcgis-de75c249146ba73aec50730b343a17945ffa26c4.tar.bz2 |
Minor fix
Diffstat (limited to 'gmap_arcgis.js')
-rw-r--r-- | gmap_arcgis.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js index eb90428..c93a8cc 100644 --- a/gmap_arcgis.js +++ b/gmap_arcgis.js @@ -132,7 +132,7 @@ function gmapArcgisHidePolygons(polygons) { // Add polygons from a given ArcGIS MapServer Layer function showPolygon(polygon) { - if (polygon.overlay != undefined) { + if (typeof polygon.overlay != 'undefined') { polygon.overlay.show(); return; } |