FillLayer

class FillLayer(layerId: String, sourceId: String) : Layer, FillLayerDsl

A filled polygon with an optional stroked border.

See also

Parameters

layerId

the ID of the layer

sourceId

the ID of the source

Constructors

FillLayer
Link copied to clipboard
fun FillLayer(layerId: String, sourceId: String)
the ID of the layer

Types

Companion
Link copied to clipboard
object Companion
Static variables and methods.

Functions

bindTo
Link copied to clipboard
fun bindTo(delegate: StyleInterface)
Bind the layer to the Style.
open override fun bindTo(delegate: StyleInterface, position: LayerPosition?)
Bind the layer to the map controller.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
fillAntialias
Link copied to clipboard
open override fun fillAntialias(fillAntialias: Expression): FillLayer
Set the FillAntialias property
open override fun fillAntialias(fillAntialias: Boolean): FillLayer
Set the FillAntialias property
fillColor
Link copied to clipboard
open override fun fillColor(fillColor: Expression): FillLayer
Set the FillColor property
open override fun fillColor(@ColorInt() fillColor: Int): FillLayer
Set the FillColor property.
open override fun fillColor(fillColor: String): FillLayer
Set the FillColor property
fillColorTransition
Link copied to clipboard
open override fun fillColorTransition(options: StyleTransition): FillLayer
Set the FillColor property transition options
open override fun fillColorTransition(block: StyleTransition.Builder.() -> Unit): FillLayer
fillOpacity
Link copied to clipboard
open override fun fillOpacity(fillOpacity: Expression): FillLayer
Set the FillOpacity property
open override fun fillOpacity(fillOpacity: Double): FillLayer
Set the FillOpacity property
fillOpacityTransition
Link copied to clipboard
open override fun fillOpacityTransition(options: StyleTransition): FillLayer
Set the FillOpacity property transition options
open override fun fillOpacityTransition(block: StyleTransition.Builder.() -> Unit): FillLayer
fillOutlineColor
Link copied to clipboard
open override fun fillOutlineColor(fillOutlineColor: Expression): FillLayer
Set the FillOutlineColor property
open override fun fillOutlineColor(@ColorInt() fillOutlineColor: Int): FillLayer
Set the FillOutlineColor property.
open override fun fillOutlineColor(fillOutlineColor: String): FillLayer
Set the FillOutlineColor property
fillOutlineColorTransition
Link copied to clipboard
open override fun fillOutlineColorTransition(options: StyleTransition): FillLayer
Set the FillOutlineColor property transition options
open override fun fillOutlineColorTransition(block: StyleTransition.Builder.() -> Unit): FillLayer
fillPattern
Link copied to clipboard
open override fun fillPattern(fillPattern: Expression): FillLayer
Set the FillPattern property
open override fun fillPattern(fillPattern: String): FillLayer
Set the FillPattern property
fillPatternTransition
Link copied to clipboard
open override fun fillPatternTransition(options: StyleTransition): FillLayer
Set the FillPattern property transition options
open override fun fillPatternTransition(block: StyleTransition.Builder.() -> Unit): FillLayer
fillSortKey
Link copied to clipboard
open override fun fillSortKey(fillSortKey: Expression): FillLayer
Set the FillSortKey property
open override fun fillSortKey(fillSortKey: Double): FillLayer
Set the FillSortKey property
fillTranslate
Link copied to clipboard
open override fun fillTranslate(fillTranslate: Expression): FillLayer
Set the FillTranslate property
open override fun fillTranslate(fillTranslate: List<Double>): FillLayer
Set the FillTranslate property
fillTranslateAnchor
Link copied to clipboard
open override fun fillTranslateAnchor(fillTranslateAnchor: Expression): FillLayer
Set the FillTranslateAnchor property
open override fun fillTranslateAnchor(fillTranslateAnchor: FillTranslateAnchor): FillLayer
Set the FillTranslateAnchor property
fillTranslateTransition
Link copied to clipboard
open override fun fillTranslateTransition(options: StyleTransition): FillLayer
Set the FillTranslate property transition options
open override fun fillTranslateTransition(block: StyleTransition.Builder.() -> Unit): FillLayer
filter
Link copied to clipboard
open override fun filter(filter: Expression): FillLayer
Set the filter property
hashCode
Link copied to clipboard
open fun hashCode(): Int
maxZoom
Link copied to clipboard
open override fun maxZoom(maxZoom: Double): FillLayer
Set the maxzoom property
minZoom
Link copied to clipboard
open override fun minZoom(minZoom: Double): FillLayer
Set the minzoom property
sourceLayer
Link copied to clipboard
open override fun sourceLayer(sourceLayer: String): FillLayer
Set the sourceLayer property
toString
Link copied to clipboard
open fun toString(): String
visibility
Link copied to clipboard
open override fun visibility(visibility: Visibility): FillLayer
Set the Visibility property

Properties

fillAntialias
Link copied to clipboard
val fillAntialias: Boolean?
Whether or not the fill should be antialiased.
fillAntialiasAsExpression
Link copied to clipboard
val fillAntialiasAsExpression: Expression?
This is an Expression representation of "fill-antialias".
fillColor
Link copied to clipboard
val fillColor: String?
The color of the filled part of this layer.
fillColorAsColorInt
Link copied to clipboard
val fillColorAsColorInt: Int?
The color of the filled part of this layer.
fillColorAsExpression
Link copied to clipboard
val fillColorAsExpression: Expression?
This is an Expression representation of "fill-color".
fillColorTransition
Link copied to clipboard
val fillColorTransition: StyleTransition?
Transition options for FillColor.
fillOpacity
Link copied to clipboard
val fillOpacity: Double?
The opacity of the entire fill layer.
fillOpacityAsExpression
Link copied to clipboard
val fillOpacityAsExpression: Expression?
This is an Expression representation of "fill-opacity".
fillOpacityTransition
Link copied to clipboard
val fillOpacityTransition: StyleTransition?
Transition options for FillOpacity.
fillOutlineColor
Link copied to clipboard
val fillOutlineColor: String?
The outline color of the fill.
fillOutlineColorAsColorInt
Link copied to clipboard
val fillOutlineColorAsColorInt: Int?
The outline color of the fill.
fillOutlineColorAsExpression
Link copied to clipboard
val fillOutlineColorAsExpression: Expression?
This is an Expression representation of "fill-outline-color".
fillOutlineColorTransition
Link copied to clipboard
val fillOutlineColorTransition: StyleTransition?
Transition options for FillOutlineColor.
fillPattern
Link copied to clipboard
val fillPattern: String?
Name of image in sprite to use for drawing image fills.
fillPatternAsExpression
Link copied to clipboard
val fillPatternAsExpression: Expression?
This is an Expression representation of "fill-pattern".
fillPatternTransition
Link copied to clipboard
val fillPatternTransition: StyleTransition?
Transition options for FillPattern.
fillSortKey
Link copied to clipboard
val fillSortKey: Double?
Sorts features in ascending order based on this value.
fillSortKeyAsExpression
Link copied to clipboard
val fillSortKeyAsExpression: Expression?
This is an Expression representation of "fill-sort-key".
fillTranslate
Link copied to clipboard
val fillTranslate: List<Double>?
The geometry's offset.
fillTranslateAnchor
Link copied to clipboard
val fillTranslateAnchor: FillTranslateAnchor?
Controls the frame of reference for fill-translate.
fillTranslateAnchorAsExpression
Link copied to clipboard
val fillTranslateAnchorAsExpression: Expression?
This is an Expression representation of "fill-translate-anchor".
fillTranslateAsExpression
Link copied to clipboard
val fillTranslateAsExpression: Expression?
This is an Expression representation of "fill-translate".
fillTranslateTransition
Link copied to clipboard
val fillTranslateTransition: StyleTransition?
Transition options for FillTranslate.
filter
Link copied to clipboard
val filter: Expression?
A expression specifying conditions on source features.
layerId
Link copied to clipboard
open override val layerId: String
the ID of the layer
maxZoom
Link copied to clipboard
open override val maxZoom: Double?
The maximum zoom level for the layer.
minZoom
Link copied to clipboard
open override val minZoom: Double?
The minimum zoom level for the layer.
sourceId
Link copied to clipboard
val sourceId: String
the ID of the source
sourceLayer
Link copied to clipboard
val sourceLayer: String?
Source layer.
visibility
Link copied to clipboard
open override val visibility: Visibility?
Visibility of the layer.