aboutsummaryrefslogtreecommitdiff
path: root/gmap_arcgis.js
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-03-13 15:30:52 -0300
committerSilvio <silvio@socioambiental.org>2013-03-13 15:30:52 -0300
commit0ecdb60bf4d8817ee5190dfaa10e0a4571c76468 (patch)
tree37cbffa6ee701e21bb41e97fadc599d0539e0702 /gmap_arcgis.js
parenteaca011bc9ceacaf952d599a9185837ade51ff3c (diff)
downloadgmap_arcgis-0ecdb60bf4d8817ee5190dfaa10e0a4571c76468.tar.gz
gmap_arcgis-0ecdb60bf4d8817ee5190dfaa10e0a4571c76468.tar.bz2
Method sliderUpdateOpacity() should be called in all slider changes
Diffstat (limited to 'gmap_arcgis.js')
-rw-r--r--gmap_arcgis.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index 980b07f..a3fd281 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -259,10 +259,8 @@ function gmapArcgis(config) {
if (this.config['sliders'][slider].overlays[layer] == undefined) {
this.addSlider(layer, slider);
}
- else {
- this.sliderUpdateOpacity(layer, slider);
- }
+ this.sliderUpdateOpacity(layer, slider);
},
// Fix slider opacity