Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fixed baseLayer and time parameter handling

Tilak Joshi1d6326522fe0
diff --git a/js/map.js b/js/map.js
index f368cbf71..78e719cd8 100644
--- a/js/map.js
+++ b/js/map.js
@@ -91,7 +91,7 @@ SOTE.widget.Map = function(containerId, config){
this.statusStr = "";
this.disabled = false;
this.time = config.time;
- this.baselayer = config.baselayer;
+ this.baseLayer = config.baseLayer;
// Initialize the map
this.init();
@@ -102,9 +102,9 @@ SOTE.widget.Map = function(containerId, config){
// Set active layer if params set
- if ((this.time != null) && (this.baselayer != null))
+ if ((this.time != null) && (this.baseLayer != null))
{
- this.activateLayerDisableTheRest(this.baselayer, this.time);
+ this.activateLayerDisableTheRest(this.baseLayer,this.time);
}