示例#1
0
 /// <summary>
 /// Tilts the view relative to the current tilt value. Positive values tilt the view down towards the map,
 /// negative values tilt the view up towards the horizon. The new calculated tilt value will be clamped to
 /// the range of [30 .. 90] and to the range set by Options::setZoomRange.
 ///
 /// If durationSeconds &gt; 0 the tilting operation will be animated over time. If the previous tilting animation has not
 /// finished by the time this method is called, it will be stopped.
 /// </summary>
 /// <param name="deltaTilt">The number of degrees the camera should be tilted by.</param>
 /// <param name="durationSeconds">The duration in which the tilting operation will be completed in seconds.</param>
 public void SetRelativeTilt(float deltaTilt, float durationSeconds)
 {
     _baseMapView.Tilt(deltaTilt, durationSeconds);
 }