Data prop for custom layer that doesn't attempt to fetch the full URL #9931
Unanswered
kylebarron
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Yes, the source support is not ready for upstreaming into deck.gl. However, I did some work on a TileSourceLayer.
You should be able to supply a custom fetch function via deck.gl loadOptions, would that help? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm making a custom layer for GeoTIFF files. I'd like to use the name
datafor the input prop because that's most common for other deck.gl layers. In order to do this it looks like I must use a loaders.gl Loader.However, it looks like it's impossible for loaders.gl Loaders to not try to fetch the entire input buffer. Is it possible to turn off the automatic deck.gl-loaders.gl integration for my layer, so that I can inject my own custom handling of the
dataprop? Or is there a way in loaders.gl to avoid having it always fetch the entiredatainput when a URL?I see there's some work in loaders.gl about "sources". But based on type hints it looks like deck.gl doesn't allow those for the
dataprop.Beta Was this translation helpful? Give feedback.
All reactions