getStyle method

dynamic getStyle()

Returns the map's Mapbox style object, which can be used to recreate the map's style.

@returns {Object} The map's style object.

@example var styleJson = map.getStyle();

Implementation

dynamic getStyle() => jsObject.getStyle();