Closed sguimmara closed 1 year ago
Actually, fromSource()
is not exposed in the API it seems.
It would be great to be able to pass a custom source in order to use a custom client (we need to pass all HTTP request through a service that reorders and drops requests).
fromSource()
is actually GeoTIFF.fromSource()
a static method on the GeoTIFF object, which is exposed.
Any reason why it is not a function exposed in https://geotiffjs.github.io/geotiff.js/module-geotiff.html ?
It could be a free function in the module itself, but it would just be a proxy to GeoTIFF.fromSource()
anyways. Does the static function work?
It could be a free function in the module itself, but it would just be a proxy to
GeoTIFF.fromSource()
anyways. Does the static function work?
I haven't tested yet. I will update the issue with my results :)
I understand that
fromSource()
enables the caller to pass a custom source.However, I don't see how to do that, since the class
RemoteSource
andBaseClient
do not seem to be exported in the bundle ?