RasterLayer class

Raster map textures such as satellite imagery.

Inheritance

Constructors

RasterLayer({required dynamic id, dynamic visibility, dynamic minZoom, dynamic maxZoom, required String sourceId, String? sourceLayer, double? rasterBrightnessMax, double? rasterBrightnessMin, double? rasterContrast, double? rasterFadeDuration, double? rasterHueRotate, double? rasterOpacity, RasterResampling? rasterResampling, double? rasterSaturation})

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the Layer.
getter/setter pairinherited
maxZoom double?
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
getter/setter pairinherited
minZoom double?
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
getter/setter pairinherited
rasterBrightnessMax double?
Increase or reduce the brightness of the image. The value is the maximum brightness.
getter/setter pair
rasterBrightnessMin double?
Increase or reduce the brightness of the image. The value is the minimum brightness.
getter/setter pair
rasterContrast double?
Increase or reduce the contrast of the image.
getter/setter pair
rasterFadeDuration double?
Fade duration when a new tile is added.
getter/setter pair
rasterHueRotate double?
Rotates hues around the color wheel.
getter/setter pair
rasterOpacity double?
The opacity at which the image will be drawn.
getter/setter pair
rasterResampling RasterResampling?
The resampling/interpolation method to use for overscaling, also known as texture magnification filter
getter/setter pair
rasterSaturation double?
Increase or reduce the saturation of the image.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceId String
The id of the source.
getter/setter pair
sourceLayer String?
A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.
getter/setter pair
visibility Visibility?
The visibility of the layer.
getter/setter pairinherited

Methods

getType() String
Get the type of current layer as a String.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decode(String properties) RasterLayer