stac-layer
stac-layer copied to clipboard
Pass bands that are displayed via event
http://localhost:8080/test/stac-item/band-info.html test passes, but when I click on the lyr, the callback data doesn't appear to include bands.
Was this already the case in 0.11.0 with Leaflet 1.7?
Yes, I assume so.
I checked the implementation and currently stac-layer just passes the eo:bands completely and not the bands that are actually shown/used. As such the implementation can be removed and replaced with stac-js functionality to retrieve bands. Long-term we should actually return the bands used, but that's not even the case right now.
Sounds like a good plan