Interactive interface for browsing global, full-resolution satellite imagery
add documentation
Mike McGanne1d91093aa62
diff --git a/doc/data_download.md b/doc/data_download.mdindex db18b7c55..20e30cffa 100644--- a/doc/data_download.md+++ b/doc/data_download.md@@ -66,6 +66,7 @@ grid tiles.on the map.* `TerraSwathMultiDay`: Use for Terra 5-minute data granules where today,yesterday, and tomorrow appear together on the same map.+* `WELDGranuleFootprints`: Use for the WELD product.## Query Parameters@@ -205,6 +206,12 @@ otherwise keeps science-quality granules if `science`.Sets the label of the granule to the `name` provided in the constructor.+### TagButtonScale++Sets a scale value for the granule selection buttons. Useful for making the+buttons smaller for dense datasets. For example, WELD uses a value of+0.35.+### TagListForces the results to display in a dialog box list instead of on the map.@@ -268,6 +275,10 @@ in degrees, is considered to have crossed the anti-meridian.Creates a label for this granule based on its acquisition time only. Timesthat are not from the selected day are indicated with + or - day indicators.+### TitleLabel++Use the provided title in the metadata as the granule label.+### TransformConvert the EPSG:4326 coordinates into the other projections required fordiff --git a/web/js/data/handler.js b/web/js/data/handler.jsindex 0ffd23132..8e9735dde 100644--- a/web/js/data/handler.js+++ b/web/js/data/handler.js@@ -793,10 +793,9 @@ export function dataHandlerWeldGranuleFootprints(config, model, spec) {granules: data};- // var productConfig = config.products[model.selectedProduct];var chain = dataResultsChain();chain.processes = [- dataResultsTagButtonScale(0.35),+ dataResultsTagButtonScale(0.35), // standard button size is too bigdataResultsTagProduct(model.selectedProduct),dataResultsTagVersion(),dataResultsGeometryFromCMR(),diff --git a/web/js/data/map.js b/web/js/data/map.jsindex 8758fedf0..c65c228ea 100644--- a/web/js/data/map.js+++ b/web/js/data/map.js@@ -392,9 +392,10 @@ export function dataMap(model, maps, config) {var base = 12;// Double the size for each zoom levelvar add = Math.pow(2, zoom);- // But 47 pixels is the maximum size+ // Apply size adjustment to the button if specified by TagButtonScalevar buttonScale = feature.granule.buttonScale || 1;var size = (base + add) * buttonScale;+ // But 44 pixels is the maximum sizesize = Math.min(size, base + 32);return {scale: size / 48,