HillshadeLayer class

Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.

Inheritance

Constructors

HillshadeLayer({required dynamic id, dynamic visibility, dynamic minZoom, dynamic maxZoom, required String sourceId, String? sourceLayer, int? hillshadeAccentColor, double? hillshadeExaggeration, int? hillshadeHighlightColor, HillshadeIlluminationAnchor? hillshadeIlluminationAnchor, double? hillshadeIlluminationDirection, int? hillshadeShadowColor})

Properties

hashCode int
The hash code for this object.
no setterinherited
hillshadeAccentColor int?
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
getter/setter pair
hillshadeExaggeration double?
Intensity of the hillshade
getter/setter pair
hillshadeHighlightColor int?
The shading color of areas that faces towards the light source.
getter/setter pair
hillshadeIlluminationAnchor HillshadeIlluminationAnchor?
Direction of light source when map is rotated.
getter/setter pair
hillshadeIlluminationDirection double?
The direction of the light source used to generate the hillshading with 0 as the top of the viewport if hillshade-illumination-anchor is set to viewport and due north if hillshade-illumination-anchor is set to map.
getter/setter pair
hillshadeShadowColor int?
The shading color of areas that face away from the light source.
getter/setter pair
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
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) HillshadeLayer