zoom property

num zoom

The initial zoom level of the map. If zoom is not specified in the constructor options, Mapbox GL JS will look for it in the map's style object. If it is not specified in the style, either, it will default to 0.

Implementation

num get zoom => jsObject.zoom;