Sets the rotation of the camera according to yaw and pitch in degrees. The computations hinge
on the current projection and geoCenter, because yaw and pitch are defined in tangent
space. In particular, MapView#geoCenter needs to be set before calling setRotation.
Note:yaw == 0 && pitch == 0 will north up the map and you will look downwards onto the
map.
Sets the rotation of the camera according to yaw and pitch in degrees. The computations hinge on the current projection and
geoCenter
, because yaw and pitch are defined in tangent space. In particular,MapView#geoCenter
needs to be set before callingsetRotation
.Note:
yaw == 0 && pitch == 0
will north up the map and you will look downwards onto the map.