aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);