Creates a GeoTIFFSource source.
options
Readonly
containsReadonly
crsGets the datatype of images generated by this source.
Readonly
flipYGets whether images generated from this source should be flipped vertically.
Readonly
isReadonly
isReadonly
isReadonly flag to indicate that his object implements MemoryUsage.
Readonly
synchronousIf true
, this source can immediately generate images without any delay.
Readonly
typeReadonly
urlGets or sets the channel mapping.
Gets the color space of the textures generated by this source.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
The request extent.
The width, in pixels, of the request extent.
The height, in pixels, of the request extent.
The margin, in pixels.
The adjusted parameters.
Gets whether this source contains the specified extent. If a custom contains function is provided, it will be used. Otherwise, intersects is used.
This method is mainly used to discard non-relevant requests (i.e don't process regions that are not relevant to this source).
The extent to test.
Fire an event type.
The event that gets fired.
Gets the images for the specified extent and pixel size.
An array containing the functions to generate the images asynchronously.
Returns an approximation of the memory used by this object, in bytes.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Test the intersection between the specified extent and this source's extent. This method may be overriden to perform special logic.
The extent to test.
true
if the extent and this source extent intersects, false
otherwise.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Raises an event to reload the source.
Optional
extent: ExtentStatic
compute
Provides data from a remote GeoTIFF file.
Features:
Note: performance might be degraded if the GeoTIFF is not optimized for streaming. We recommend using Cloud Optimized GeoTIFFs (COGs) for best performance.