For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
raster.MTRasterLayer
The raster style layer that renders raster map textures such as satellite imagery.
Supports paint properties like brightness, contrast, fade duration, hue rotation, opacity, resampling and saturation, and a layout visibility flag.
Constructors
Properties
Increase or reduce the brightness of the image. The value is the maximum brightness. Optional number between 0 and 1 inclusive. Defaults to 1.
Increase or reduce the brightness of the image. The value is the minimum brightness. Optional number between 0 and 1 inclusive. Defaults to 0.
Fade duration when a new tile is added. Optional number greater than or equal to 0. Units in milliseconds. Defaults to 300.
Unique layer identifier.
The resampling/interpolation method to use for overscaling. Defaults to LINEAR.
Increase or reduce the saturation of the image. Optional number between -1 and 1 inclusive. Defaults to 0.
Identifier of the source to be used for this layer.
Layer to use from a vector tile source. Not used for raster sources.
Type of the layer.
Enum controlling whether this layer is displayed.