Image Extension Impl
class ImageExtensionImpl(builder: ImageExtensionImpl.Builder) : StyleContract.StyleImageExtension
Content copied to clipboard
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
Types
Builder
Link copied to clipboard
Builder for the ImageExtensionImpl.
Functions
bind To
Link copied to clipboard
Add the image to the style.