From 258dad4b85673a63811553379cfc261b83a5b5e0 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 5 Aug 2013 16:09:39 -0300 Subject: Fixing showOverlay() call at showOverlayIf() --- gmap_arcgis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3