aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2012-11-14 15:33:07 -0200
committerSilvio <silvio@socioambiental.org>2012-11-14 15:33:07 -0200
commitde75c249146ba73aec50730b343a17945ffa26c4 (patch)
treeefaff43eb70e5f0370a2ba9f0142687fad41c10f
parent7738b0f7b99eeeeaab3d9467928e63d7b59383dd (diff)
downloadgmap_arcgis-de75c249146ba73aec50730b343a17945ffa26c4.tar.gz
gmap_arcgis-de75c249146ba73aec50730b343a17945ffa26c4.tar.bz2
Minor fix
-rw-r--r--gmap_arcgis.js2
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;
}