Skip to content

Commit

Permalink
added a link in embedded map to open map in full map view
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdangol0077 committed Mar 5, 2024
1 parent 76935dd commit a3f4997
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
32 changes: 32 additions & 0 deletions stories/air-quality-and-covid-19.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,14 @@ taxonomy:
attrAuthor='NASA'
attrUrl='https://nasa.gov/'
>
<FullMapLinkButton
datasetId='no2'
layerId='no2-monthly'
center={[-84.39, 33.75]}
zoom={9.5}
dateTime='2019-04-01'
compareDateTime='2020-04-01'
/>
Levels in 10¹⁵ molecules cm⁻². Darker colors indicate higher nitrogen dioxide (NO₂) levels associated and more activity. Lighter colors indicate lower levels of NO₂ and less activity.
</Caption>
</Figure>
Expand All @@ -226,6 +234,14 @@ taxonomy:
attrAuthor='NASA'
attrUrl='https://nasa.gov/'
>
<FullMapLinkButton
datasetId='no2'
layerId='no2-monthly'
center={[-84.39, 33.75]}
zoom={9.5}
dateTime='2019-06-01'
compareDateTime='2020-06-01'
/>
Levels in 10¹⁵ molecules cm⁻². Darker colors indicate higher nitrogen dioxide (NO₂) levels associated and more activity. Lighter colors indicate lower levels of NO₂ and less activity.
</Caption>
</Figure>
Expand All @@ -251,6 +267,14 @@ taxonomy:
attrAuthor='NASA'
attrUrl='https://nasa.gov/'
>
<FullMapLinkButton
datasetId='no2'
layerId='no2-monthly'
center={[-84.39, 33.75]}
zoom={9.5}
dateTime='2019-09-01'
compareDateTime='2020-09-01'
/>
Levels in 10¹⁵ molecules cm⁻². Darker colors indicate higher nitrogen dioxide (NO₂) levels associated and more activity. Lighter colors indicate lower levels of NO₂ and less activity.
</Caption>
</Figure>
Expand All @@ -272,6 +296,14 @@ taxonomy:
>
Levels in 10¹⁵ molecules cm⁻². Darker colors indicate higher nitrogen dioxide (NO₂) levels associated and more activity. Lighter colors indicate lower levels of NO₂ and less activity.
</Caption>
<FullMapLinkButton
datasetId='no2'
layerId='no2-monthly'
center={[120.11, 34.95]}
zoom={4.5}
dateTime='2020-02-01'
compareDateTime='2022-02-01'
/>
</Figure>
<Prose>
## Seeing Rebounds in NO2
Expand Down
26 changes: 25 additions & 1 deletion stories/hurricane-maria-and-ida.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,15 @@ taxonomy:
attrUrl='https://nasa.gov/'
>
Comparison of nightlights data for Puerto Rico pre-landfall (17 July 2017) and post-landfall (20 September 2017) for Hurricane Maria.
</Caption>
</Caption>
<FullMapLinkButton
datasetId='nighttime-lights-ej'
layerId='nightlights-hd-1band'
zoom={9}
center={[-66.45,18.22]}
dateTime='2017-07-21'
compareDateTime='2017-09-20'
/>
</Figure>
</Block>

Expand All @@ -103,6 +111,14 @@ taxonomy:
>
Harmonized Landsat 8 SWIR image provides enhanced contrast to detect flood extent in Puerto Rico before and after Hurricane Maria in 2017.
</Caption>
<FullMapLinkButton
datasetId='hls_events'
layerId='hls-l30-002-ej'
dateTime='2017-08-25'
zoom={11}
center={[-65.97,18.41]}
compareDateTime='2017-09-26'
/>
</Figure>
<Prose>
### Flood Detection
Expand Down Expand Up @@ -139,6 +155,14 @@ taxonomy:
<Caption attrAuthor="NASA" attrUrl="https://nasa.gov/">
Blue tarp detections in Jefferson Parish, LA on February 12, 2022.
</Caption>
<FullMapLinkButton
datasetId="ps_blue_tarp_detections"
layerId="blue-tarp-planetscope"
zoom={17}
dateTime="2022-02-12"
compareDateTime="2022-02-12"
center={[-90.0613, 29.914]}
/>
</Figure>
</Block>

Expand Down

0 comments on commit a3f4997

Please sign in to comment.