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): <ERROR CLASS>
Set the FillAntialias property
open override fun fillAntialias(fillAntialias: Boolean): <ERROR CLASS>
Set the FillAntialias property
fillColor
Link copied to clipboard
open override fun fillColor(fillColor: Expression): <ERROR CLASS>
Set the FillColor property
open override fun fillColor(@ColorInt() fillColor: Int): <ERROR CLASS>
Set the FillColor property.
open override fun fillColor(fillColor: String): <ERROR CLASS>
Set the FillColor property
fillColorTransition
Link copied to clipboard
open override fun fillColorTransition(options: StyleTransition): <ERROR CLASS>
Set the FillColor property transition options
open override fun fillColorTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
fillOpacity
Link copied to clipboard
open override fun fillOpacity(fillOpacity: Expression): <ERROR CLASS>
Set the FillOpacity property
open override fun fillOpacity(fillOpacity: Double): <ERROR CLASS>
Set the FillOpacity property
fillOpacityTransition
Link copied to clipboard
open override fun fillOpacityTransition(options: StyleTransition): <ERROR CLASS>
Set the FillOpacity property transition options
open override fun fillOpacityTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
fillOutlineColor
Link copied to clipboard
open override fun fillOutlineColor(fillOutlineColor: Expression): <ERROR CLASS>
Set the FillOutlineColor property
open override fun fillOutlineColor(@ColorInt() fillOutlineColor: Int): <ERROR CLASS>
Set the FillOutlineColor property.
open override fun fillOutlineColor(fillOutlineColor: String): <ERROR CLASS>
Set the FillOutlineColor property
fillOutlineColorTransition
Link copied to clipboard
open override fun fillOutlineColorTransition(options: StyleTransition): <ERROR CLASS>
Set the FillOutlineColor property transition options
open override fun fillOutlineColorTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
fillPattern
Link copied to clipboard
open override fun fillPattern(fillPattern: Expression): <ERROR CLASS>
Set the FillPattern property
open override fun fillPattern(fillPattern: String): <ERROR CLASS>
Set the FillPattern property
fillPatternTransition
Link copied to clipboard
open override fun fillPatternTransition(options: StyleTransition): <ERROR CLASS>
Set the FillPattern property transition options
open override fun fillPatternTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
fillSortKey
Link copied to clipboard
open override fun fillSortKey(fillSortKey: Expression): <ERROR CLASS>
Set the FillSortKey property
open override fun fillSortKey(fillSortKey: Double): <ERROR CLASS>
Set the FillSortKey property
fillTranslate
Link copied to clipboard
open override fun fillTranslate(fillTranslate: Expression): <ERROR CLASS>
Set the FillTranslate property
open override fun fillTranslate(fillTranslate: List<Double>): <ERROR CLASS>
Set the FillTranslate property
fillTranslateAnchor
Link copied to clipboard
open override fun fillTranslateAnchor(fillTranslateAnchor: Expression): <ERROR CLASS>
Set the FillTranslateAnchor property
open override fun fillTranslateAnchor(fillTranslateAnchor: FillTranslateAnchor): <ERROR CLASS>
Set the FillTranslateAnchor property
fillTranslateTransition
Link copied to clipboard
open override fun fillTranslateTransition(options: StyleTransition): <ERROR CLASS>
Set the FillTranslate property transition options
open override fun fillTranslateTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
filter
Link copied to clipboard
open override fun filter(filter: Expression): <ERROR CLASS>
Set the filter property
hashCode
Link copied to clipboard
open fun hashCode(): Int
maxZoom
Link copied to clipboard
open override fun maxZoom(maxZoom: Double): <ERROR CLASS>
Set the maxzoom property
minZoom
Link copied to clipboard
open override fun minZoom(minZoom: Double): <ERROR CLASS>
Set the minzoom property
sourceLayer
Link copied to clipboard
open override fun sourceLayer(sourceLayer: String): <ERROR CLASS>
Set the sourceLayer property
toString
Link copied to clipboard
open fun toString(): String
visibility
Link copied to clipboard
open override fun visibility(visibility: Visibility): <ERROR CLASS>
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.