The URL of the dataset's collection.json.
Optionaldate?: DateThe date and time of the data to retrieve. If omitted, it behaves as if the current date and time new Date() was specified.
Optionalband?: stringThe band of the dataset to use. If omitted, the first band included in the dataset (the first one in the order defined in collection.json) is used.
Optionalresampling?: ResamplingThe resampling method to use. If omitted, it behaves as if nearest neighbor (je.Resampling.NEAREST) was specified.
OptionalcolorMapObject?: ColorMapObjectThe color map conditions for visualization. If omitted, it behaves as if {min: 0, max: 255, colors: ["000000", "ffffff"]} was specified.
For color images or classification-type data (data where photometricInterpretation == 1 is not true), it is ignored and the colors originally specified in each data take precedence.
To avoid issues when sending and receiving rendering conditions between threads, such as with web workers, ColorMapObject is used instead of ColorMap.
Initializes the instance. Execution is required.
Retrieves the image as an HTMLCanvasElement.
The width of the image (number of pixels).
The height of the image (number of pixels).
The Bbox indicating the geographic range to display. When the projection projection is EPSG:4326, it is specified in latitude and longitude, but when it is EPSG:3857, it is specified in units of meters. Note that this depends on the rules of the WMS parameters.
The projection to use.
A callback function that is executed each time data is loaded. You can retrieve the progress rate (0 to 100) and the image during loading.
Retrieves the image as an OffscreenCanvas.
The width of the image (number of pixels).
The height of the image (number of pixels).
The Bbox indicating the geographic range to display. When the projection projection is EPSG:4326, it is specified in latitude and longitude, but when it is EPSG:3857, it is specified in units of meters. Note that this depends on the rules of the WMS parameters.
The projection to use.
A callback function that is executed each time data is loaded. You can retrieve the progress rate (0 to 100) and the image during loading.
Retrieves the image as a Uint8Array of a PNG image.
The width of the image (number of pixels).
The height of the image (number of pixels).
The Bbox indicating the geographic range to display. When the projection projection is EPSG:4326, it is specified in latitude and longitude, but when it is EPSG:3857, it is specified in units of meters. Note that this depends on the rules of the WMS parameters.
The projection to use.
A callback function that is executed each time data is loaded. You can retrieve the progress rate (0 to 100) and the image during loading.
Use this when changing the color map partway through.
Retrieves the already loaded DataObject again from the cache. No further communication is performed.
Creates an image using WMS (Web Map Service) style parameters. Use this when integrating with a map API such as ImageCanvas of OpenLayers.