initialZoomLevel property
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:
- For enabling zooming and panning, set zoomPanBehavior with the instance of MapZoomPanBehavior.
- MapZoomPanBehavior.focalLatLng, to dynamically change the center position.
- MapZoomPanBehavior.zoomLevel, to dynamically change the zoom level.
Implementation
final int initialZoomLevel;