OptionalcolorThe custom color space of the generated textures.
See https://threejs.org/docs/#manual/en/introduction/Color-management for
more information. If unspecified, the source considers that 8-bit images are in the sRGB
color space, otherwise NoColorSpace.
OptionalcontainsThe custom function to test if a given extent is contained in this source. Note: we assume this function accepts extents in this source's CRS.
OptionalcrsThe Coordinate Reference System of the image. If unspecified, will assume that the desired coordinate system is the one of the entity that contains the layer.
OptionalenableEnable web workers.
OptionalextentThe optional extent to use.
OptionalflipShould images be flipped vertically during composition ?
OptionalformatThe image format decoder to use. Note: for jpeg, png and webp images, no format decoder is required.
OptionalhttpThe optional HTTP request timeout, in milliseconds.
Optionalis8bitThe data type of images generated.
For regular color images, this should be true. For images with a high dynamic range,
or images that requires additional processing, this should be false.
OptionalnoThe optional no-data value.
OptionalrequestThe relative priority of HTTP requests emitted by this source.
OptionalretriesHow many retries to execute when an HTTP request ends up in error.
OptionalsynchronousIs this source able to generate images synchronously ?
OptionaltransparentShould the generated images be considered transparent ?
The URL template to use for image requests. Parameters to substitute must be enclosed in braces, e.g {minx}.
Supported parameters:
{minx}: The min X (leftmost side) value of the requested extent.{maxx}: The max X (rightmost side) value of the requested extent.{miny}: The min Y (bottom side) value of the requested extent.{maxy}: The max Y (top side) value of the requested extent.{width}: The width, in pixels, of the requested image.{height}: The height, in pixels, of the requested image.{epsgCode}: The numerical code of the request coordinate system.
For example, if the instance coordinate system is EPSG:3857, {epsgCode} will be substituted with the 3857 value.// A typical GetMap WMS pattern
const wmsTemplate: "http://example.com?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=MyLayer&STYLES=&SRS=EPSG:{epsgCode}&BBOX={minx},{miny},{maxx},{maxy}&WIDTH={width}&HEIGHT={height}&FORMAT=image/png"
Constructor options for UrlImageSource.