opendatacube / datacube-explorer

Web-based exploration of Open Data Cube collections
Apache License 2.0
56 stars 31 forks source link

If there's a thumbnail or overview or quicklook, add it to the leaflet view for the dataset page #297

Closed alexgleith closed 1 year ago

alexgleith commented 3 years ago

How to add it: https://leafletjs.com/reference-1.7.1.html#imageoverlay

How to identify it? Not sure.

Essentially we should be able to add an image to this kind of page, where the blue area is. https://explorer.digitalearth.africa/products/ls8_sr/datasets/0602918d-63e1-597c-87e9-f9b7a68e2a1a

image

robbibt commented 1 year ago

I think we can close this now thanks to @Ariana-B - check out this @alexgleith! https://explorer.dev.dea.ga.gov.au/products/ga_s2bm_ard_3/datasets/3e17a61a-c03b-46da-a517-54be3e5ebc21

alexgleith commented 1 year ago

Woohoo, that's awesome! Well done @Ariana-B!

Looks great. Only suggestion I have is getting rid of the clicky finger 👆 when you mouseover the polygon... probably needs a new issue :-)

image

robbibt commented 1 year ago

Woohoo, that's awesome! Well done @Ariana-B!

Looks great. Only suggestion I have is getting rid of the clicky finger 👆 when you mouseover the polygon... probably needs a new issue :-)

image

Yeah, or make it download the thumbnail file when you click on it so you can open it up for a closer look...