Class CameraPosition
com.yandex.mapkit.map
java.lang.Object ⇽ CameraPosition
public class CameraPosition
The position of the camera.
Constructors
CameraPosition(Point target, float zoom, float azimuth, float tilt) | |
CameraPosition() | Use constructor with parameters in your code. |
CameraPosition(Point target, float zoom, float azimuth, float tilt) | |
CameraPosition() | Use constructor with parameters in your code. |
Methods
Constructor Detail
CameraPosition
public CameraPosition (Point target, float zoom, float azimuth, float tilt)
CameraPosition
public CameraPosition ()
Use constructor with parameters in your code.
This one is for bindings only!Method Detail
getAzimuth
public float getAzimuth ()
Angle between north and the direction of interest on the map plane, in degrees in the range [0, 360).
getTarget
public Point getTarget ()
The point the camera is looking at.
getTilt
public float getTilt ()
Camera tilt in degrees.
0 means vertical downward.getZoom
public float getZoom ()
Zoom level.
0 corresponds to the whole world displayed in a single tile.serialize
public void serialize (Archive archive)