Style
Types
Link copied to clipboard
                  interface OnStyleLoaded
Callback to be invoked when a style has finished loading.
Functions
Link copied to clipboard
                  open fun addImage(@NonNull name: String, @NonNull image: Bitmap, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)
open fun addImage(@NonNull name: String, @NonNull bitmap: Bitmap, sdf: Boolean, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)
Adds an image to be used in the map's style
open fun addImage(@NonNull name: String, @NonNull drawable: Drawable, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)
Adds an drawable to be converted into a bitmap to be used in the map's style
Link copied to clipboard
                  open fun addImageAsync(@NonNull name: String, @NonNull image: Bitmap, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)
open fun addImageAsync(@NonNull name: String, @NonNull bitmap: Bitmap, sdf: Boolean, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)
Adds an image asynchronously, to be used in the map's style.
open fun addImageAsync(@NonNull name: String, @NonNull drawable: Drawable, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)
Adds an drawable asynchronously, to be converted into a bitmap to be used in the map's style.
Link copied to clipboard
                  open fun addImages(@NonNull images: HashMap<String, Bitmap>, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)
open fun addImages(@NonNull images: HashMap<String, Bitmap>, sdf: Boolean, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)
Adds images to be used in the map's style.
Link copied to clipboard
                  open fun addImagesAsync(@NonNull images: HashMap<String, Bitmap>, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)
open fun addImagesAsync(@NonNull images: HashMap<String, Bitmap>, sdf: Boolean, @NonNull stretchX: List<ImageStretches>, @NonNull stretchY: List<ImageStretches>, @Nullable content: ImageContent)
Adds images asynchronously, to be used in the map's style.
Link copied to clipboard
                  Adds the layer to the map.
Link copied to clipboard
                  Adds the layer to the map at the specified index.
Link copied to clipboard
                  Adds the layer to the map.
Link copied to clipboard
                  Link copied to clipboard
                  Get predefined style by name
Link copied to clipboard
                  Get predefined styles
Link copied to clipboard
                  Link copied to clipboard
                  Retrieve all the sources in the style
Link copied to clipboard
                   Get the transition options for style changes.
Link copied to clipboard
                  Returns true if the style is fully loaded.
Link copied to clipboard
                  Removes an image from the map's style.
Link copied to clipboard
                  Removes the layer.
Link copied to clipboard
                  Removes the layer.
Link copied to clipboard
                  Removes the source from the style.
Removes the source, preserving the reference for re-use
Link copied to clipboard
                   Set the transition options for style changes.
Link copied to clipboard