-
I have a collection with Is it possible for stac-browser to pass the entire context of an asset to Maybe there is a way to modify the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Not yet, but it will be possible in v3.4.0 once the migration to ol-stac and stac-js is merged, see #535 Docs for stac-js: https://m-mohr.github.io/stac-js/latest/ You should be given a stac-js object and if it's an asset, you can use getContext() to get the Item/Collection. Note, you can get the collection-level properties from within an Item as of now. |
Beta Was this translation helpful? Give feedback.
Not yet, but it will be possible in v3.4.0 once the migration to ol-stac and stac-js is merged, see #535
You can start using this branch if you want and check whether it works for you.
Docs for stac-js: https://m-mohr.github.io/stac-js/latest/
You should be given a stac-js object and if it's an asset, you can use getContext() to get the Item/Collection. Note, you can get the collection-level properties from within an Item as of now.