Builder
class Builder
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
open fun canceledCallback(@Nullable canceledCallback: StyleManagerCallback): RuntimeStylingOptions.Builder
Sets a callback that will be invoked when style document loading is canceled.
Link copied to clipboard
open fun completedCallback(@Nullable completedCallback: StyleManagerCallback): RuntimeStylingOptions.Builder
Sets a callback that will be invoked when style document is fully parsed as well as it's dependencies (similar to StyleLoaded event).
Link copied to clipboard
open fun imagesCallback(@Nullable imagesCallback: StyleManagerCallback): RuntimeStylingOptions.Builder
Sets a callback that will be invoked when style sprite sheets are parsed and user can read list of available images, add new ones or update exising.
Link copied to clipboard
open fun layersCallback(@Nullable layersCallback: StyleManagerCallback): RuntimeStylingOptions.Builder
Sets a callback that will be invoked when: - root properties of the style can be read and modified - layers can be added or removed and their properties are accessible - list of sources can be checked
Link copied to clipboard
open fun sourcesCallback(@Nullable sourcesCallback: StyleManagerCallback): RuntimeStylingOptions.Builder
Sets a callback that will be invoked when metadata for all sources is fetched so that source properties can be read and modified.