MapState

constructor(center: GeoPoint, tilt: Double, zoomLevel: Double, orientation: Double)

Parameters

center

the GeoPoint on which the map is centered (use MapView.center to get the current center of the MapView)

tilt

the rotation angle around x axis between 0° and MapView.maxTiltAngle (use MapView.tiltAngle to get the current tilt angle of the MapView)

zoomLevel

the zoom level of the map (use MapView.zoomLevel to get the current zoom level of the MapView)

orientation

the rotation angle around z axis (use MapView.rotationAngle to get the current orientation of the MapView)