Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show thumbnail if map is empty #383

Open
m-mohr opened this issue Oct 19, 2023 · 0 comments
Open

Show thumbnail if map is empty #383

m-mohr opened this issue Oct 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@m-mohr
Copy link
Collaborator

m-mohr commented Oct 19, 2023

Suggestion from @ycespb

When a STAC item has a geometry which is “NULL”, and when a “preview” image is provided. Would it be possible to show by default the “preview” instead of the empty map ? [...] This would be very nice for items without geometry.

Examples:
https://radiantearth.github.io/stac-browser/#/external/emc.spacebel.be/collections/services/items/ai4eo-neuromorphic-computing?httpAccept=application%2Fgeo%2Bjson%3Bprofile%3Dhttps%3A%2F%2Fstacspec.org
More are available in the subcatalogs below https://radiantearth.github.io/stac-browser/#/external/emc.spacebel.be/concepts/tools/5881fd91-58e6-58cb-a4f3-014ae246c67b

I tested this today and there is no reliable way right now to detect how many layers are shown on the map as stac-layer 0.15.0 seems to also add layers that are empty.

@m-mohr m-mohr added the enhancement New feature or request label Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant