Skip to content

Feature: add collection render layers to map in HTML collection view #40

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

Merged
merged 7 commits into from
Mar 18, 2025

Conversation

hrodmn
Copy link
Contributor

@hrodmn hrodmn commented Mar 18, 2025

This does two things:

  • adds links to the /WebMercatorQuad/tilejson.json and WebMercatorQuad/tilejson.json endpoints to the /collections/{collection_id} STAC json response for any available renders extension entries
    • this is nice for because STAC browser will display the links for easy access to the visualizations
    • I think it is a little messy because map and tilejson are not true rel types 🤷
  • loads any tilejson layers into the map view in the collection HTML response in the STAC API
    • and adds full screen button

image

@hrodmn hrodmn requested a review from vincentsarago March 18, 2025 12:15
Copy link
Member

@vincentsarago vincentsarago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

@hrodmn hrodmn merged commit aa9df50 into main Mar 18, 2025
1 check passed
@hrodmn hrodmn deleted the feat/render-layers branch March 18, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants