FillExtrusionLayerProperties class

Implemented types

Constructors

FillExtrusionLayerProperties.new({dynamic fillExtrusionOpacity, dynamic fillExtrusionColor, dynamic fillExtrusionTranslate, dynamic fillExtrusionTranslateAnchor, dynamic fillExtrusionPattern, dynamic fillExtrusionHeight, dynamic fillExtrusionBase, dynamic fillExtrusionVerticalGradient, dynamic visibility})
const
FillExtrusionLayerProperties.fromJson(Map<String, dynamic> json)
factory

Properties

fillExtrusionBase → dynamic
The height with which to extrude the base of this layer. Must be less than or equal to fill-extrusion-height.
final
fillExtrusionColor → dynamic
The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root light settings. If this color is specified as rgba with an alpha component, the alpha component will be ignored; use fill-extrusion-opacity to set layer opacity.
final
fillExtrusionHeight → dynamic
The height with which to extrude this layer.
final
fillExtrusionOpacity → dynamic
The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.
final
fillExtrusionPattern → dynamic
Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.
final
fillExtrusionTranslate → dynamic
The geometry's offset. Values are x, y where negatives indicate left and up (on the flat plane), respectively.
final
fillExtrusionTranslateAnchor → dynamic
Controls the frame of reference for fill-extrusion-translate.
final
fillExtrusionVerticalGradient → dynamic
Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visibility → dynamic
Whether this layer is displayed.
final

Methods

copyWith(FillExtrusionLayerProperties changes) FillExtrusionLayerProperties
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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