diff --git a/controllets/select-marker-map-controllet/select-marker-map-controllet.html b/controllets/select-marker-map-controllet/select-marker-map-controllet.html
index ad16e9f..68d0048 100644
--- a/controllets/select-marker-map-controllet/select-marker-map-controllet.html
+++ b/controllets/select-marker-map-controllet/select-marker-map-controllet.html
@@ -1,6 +1,7 @@
+
@@ -48,6 +49,7 @@
+
@@ -139,7 +141,24 @@
label: {
type: String,
value: ""
+ },
+
+ satLayer: {
+ type: Object,
+ value: new ol.layer.Tile({
+ title: 'Global Imagery',
+ source: new ol.source.BingMaps({
+ key : "AiAjdlCagGtE5269Z4YP3e3VtMkzzAKvowq5cQadahNZjVxttUxdDS40u91Uv8qP",
+ imagerySet: 'AerialWithLabels'
+ })
+ })
+ },
+
+ layers: {
+ type : Array,
+ value : []
}
+
},
ready : function(){
@@ -201,8 +220,9 @@
loadTilesWhileAnimating: true,
loadTilesWhileInteracting: true,
layers: [baseLayer,
+ this.satLayer,
new ol.layer.Vector({
- source: this.vectorSource
+ source: this.vectorSource
}),
this.draw_layer
]
@@ -326,6 +346,11 @@
this.addInteraction();
},
+ _handleMapLayerClick: function(e){
+ this.satLayer.setVisible(!this.satLayer.getVisible());
+
+ },
+
getTextStyle: function(offsetX) {
return new ol.style.Style({
fill: new ol.style.Fill({