Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

New styling for selected granules

Mike McGann527e824ffb68
diff --git a/web/js/data/wv.data.map.js b/web/js/data/wv.data.map.js
index c0254f17f..19ab144e4 100644
--- a/web/js/data/wv.data.map.js
+++ b/web/js/data/wv.data.map.js
@@ -117,9 +117,13 @@ wv.data.map = wv.data.map || function(model, maps, config) {
selectionLayer = new ol.layer.Vector({
source: new ol.source.Vector(),
style: new ol.style.Style({
- fill: new ol.style.Fill({color: "rgb(127, 127, 127)"}),
- }),
- opacity: 0.6
+ fill: new ol.style.Fill({color: "rgba(127, 127, 127, 0.2)"}),
+ stroke: new ol.style.Stroke({
+ color: "rgb(127, 127, 127)",
+ width: 3
+ }),
+ opacity: 0.6
+ })
});
map.addLayer(selectionLayer);
};