MTFillLayer
The fill style layer that renders one or more filled (and optionally stroked) polygons on a map.
Constructors
constructor(identifier: String, sourceIdentifier: String, maxZoom: Double, minZoom: Double, sourceLayer: String)
constructor(identifier: String, type: MTLayerType, sourceIdentifier: String, maxZoom: Double?, minZoom: Double?, sourceLayer: String?, shouldBeAntialised: Boolean?, color: Int?, opacity: Double?, outlineColor: Int?, translate: DoubleArray?, translateAnchor: MTFillTranslateAnchor?, sortKey: Double?, visibility: MTLayerVisibility)
Properties
The color of the filled part of this layer.
Unique layer identifier.
The outline color of the fill.
Boolean indicating whether or not the fill should be antialiased.
Identifier of the source to be used for this layer.
Layer to use from a vector tile source.
The geometry’s offset.
Enum controlling the frame of reference for translate.
Type of the layer.
Enum controlling whether this layer is displayed.