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

Link copied to clipboard

Types

Link copied to clipboard
class Builder

Builder for the ImageExtensionImpl.

Functions

Link copied to clipboard
open override fun bindTo(delegate: MapboxStyleManager)

Add the image to the style.