aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-08-05 16:09:39 -0300
committerSilvio <silvio@socioambiental.org>2013-08-05 16:09:39 -0300
commit258dad4b85673a63811553379cfc261b83a5b5e0 (patch)
tree4e26f6bcd4139d9e286549b49b9ef7751426b656
parent59f9a47d4c1d1c0156db0833cf6d6cce53214578 (diff)
downloadgmap_arcgis_js-258dad4b85673a63811553379cfc261b83a5b5e0.tar.gz
gmap_arcgis_js-258dad4b85673a63811553379cfc261b83a5b5e0.tar.bz2
Fixing showOverlay() call at showOverlayIf()
-rw-r--r--gmap_arcgis.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index fa03c1a..f8f09f1 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -98,7 +98,7 @@ function gmapArcgis(config) {
// Show overlay dependending on element configuration
showOverlayIf: function(section, element) {
if (this.config[section][element].overlayTime != undefined && this.config[section][element].overlayTime != false) {
- this.showOverlay(this.config[section][element].overlayTime);
+ this.showOverlay(section + '_' + element, this.config[section][element].overlayTime);
}
else if (this.config[section][element].overlayTime != false) {
this.showOverlay(section + '_' + element);