MTStyle
The proxy object for the current map style.
Set of convenience methods for style, sources and layers manipulation. MTStyle is null until map loading is complete.
Functions
Adds a text popup to the map.
Disables the 3D terrain visualization.
Enables the globe projection visualization.
Enables the mercator projection visualization.
Enables the 3D terrain visualization.
Gets the current projection type if set.
Returns variants for the current reference style if they exist.
Returns variants for the provided reference style if they exist.
Returns boolean value indicating whether the source with provided id is loaded.
Removes a layer from the map.
Removes the marker from the map.
Removes a source from the map.
Removes a text popup from the map.