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 5cef37f..6d1d3f5 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -620,7 +620,7 @@ function gmapArcgis(config) {
self.unblockUI(name);
if (name != undefined) {
- this.config['layers'][name] = params.overlay;
+ self.config['layers'][name] = params.overlay;
}
else {
return params.overlay;