geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications.
This PR exposes the BaseClient and BaseResponse classes in the API, as well as a new builder function: fromCustomClient(). fromCustomClient is used to build a GeoTIFF object from a user-provided client (that implements BaseClient).
The use case is when the user is not satisfied with the available clients (fetch, XHR, HTTP), and must use their own client.
This PR exposes the
BaseClient
andBaseResponse
classes in the API, as well as a new builder function:fromCustomClient()
.fromCustomClient
is used to build aGeoTIFF
object from a user-provided client (that implementsBaseClient
).The use case is when the user is not satisfied with the available clients (fetch, XHR, HTTP), and must use their own client.
Fix #368