Builder

class Builder

Constructors

Link copied to clipboard
open fun Builder()

Functions

Link copied to clipboard
Link copied to clipboard
Sets a callback that will be invoked when style document loading is canceled.
Link copied to clipboard
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
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
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
Sets a callback that will be invoked when metadata for all sources is fetched so that source properties can be read and modified.