ImageExtensionImpl

Concrete implementation of ImagePlugin, the plugin is used to add an image to be used in the style.

This API can also be used for updating an image. If the image id was already added, it gets replaced by the new image.

The image can be used in icon-image, fill-pattern, and line-pattern.

See https://www.mapbox.com/mapbox-gl-js/style-spec/#layout-symbol-icon-image See https://www.mapbox.com/mapbox-gl-js/style-spec/#paint-line-line-pattern See https://www.mapbox.com/mapbox-gl-js/style-spec/#paint-fill-fill-pattern

Constructors

ImageExtensionImpl
Link copied to clipboard
fun ImageExtensionImpl(builder: ImageExtensionImpl.Builder)

Types

Builder
Link copied to clipboard

Builder for the ImageExtensionImpl.

class Builder(imageId: String)

Functions

bindTo
Link copied to clipboard

Add the image to the style.

open override fun bindTo(delegate: StyleInterface)
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String