Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

show layer preview in detail view

Jason Kent9df253fba352
diff --git a/web/css/layers.css b/web/css/layers.css
index 7e55bb68a..b7519b90a 100644
--- a/web/css/layers.css
+++ b/web/css/layers.css
@@ -1043,4 +1043,8 @@
margin: 0 5px;
}
}
+ & .layer-preview {
+ margin-top: 15px;
+ max-height: 400px;
+ }
}
diff --git a/web/js/components/layer/product-picker/product-picker.js b/web/js/components/layer/product-picker/product-picker.js
index 56cc854f0..8a0da3351 100644
--- a/web/js/components/layer/product-picker/product-picker.js
+++ b/web/js/components/layer/product-picker/product-picker.js
@@ -337,11 +337,12 @@ class ProductPicker extends React.Component {
{isSearching ? (
<LayerMetadataDetail
layer={selectedLayer}
- height={listHeight}>
+ height={listHeight}
+ selectedProjection={selectedProjection}>
</LayerMetadataDetail>
) : !isMobile && (
<MeasurementMetadataDetail
- categoryTitle={category.title}
+ categoryTitle={category && category.title}
source={currentMeasureSource}
height={height}>
</MeasurementMetadataDetail>