initialZoomLevel property Null safety

int initialZoomLevel

Represents the initial zooming level.

Based on the size of the SfMaps widget, initialFocalLatLng and initialZoomLevel, number of initial tiles needed in the view port alone will be rendered. While zooming and panning, new tiles will be requested and rendered on demand based on the current zoom level and focal point. The current zoom level and focal point can be obtained from the MapZoomPanBehavior.zoomLevel and MapZoomPanBehavior.focalLatLng.

This property cannot be changed dynamically.

Defaults to 1.

See also:


final int initialZoomLevel;