MapstedMapViewStatus

Class to store some important statuses of a map view. Those statuses includes zoom, map rotation in degrees and camera's focus position.

Functions

Link copied to clipboard
open fun getFocusPosition(): Mercator
Call this function to get the position that the camera is currently looking at.
Link copied to clipboard
MapBounds are specified as minimum (SouthWest) and maximum (NorthEast) These correspond to the BottomLeft and TopRight corners of the MapView, respectively
Link copied to clipboard
open fun getMapRotation(): Float
Call this function to get map rotation in degrees.
Link copied to clipboard
open fun getRoundedZoom(): Float
Call this function to get the zoom level rounded to the nearest 0.
Link copied to clipboard
open fun getTilt(): Float
Call this function to get the tilt angle in degrees (between 0 and 90).
Link copied to clipboard
open fun getZoom(): Float
Call this function to get the zoom level.