예제 #1
0
 /// <summary>
 /// Sets the new absolute zoom value. The minimum zoom value is 0, which means absolutely zoomed out and the maximum
 /// zoom value is 24. The zoom value can be further constrained by the Options::setZoomRange method. Values
 /// exceeding these ranges will be clamped.
 ///
 /// If durationSeconds &gt; 0 the zooming operation will be animated over time. If the previous zooming animation has not
 /// finished by the time this method is called, it will be stopped.
 /// </summary>
 /// <param name="zoom">The new absolute zoom value.</param>
 /// <param name="durationSeconds">The duration in which the zooming operation will be completed in seconds.</param>
 public void SetZoom(float zoom, float durationSeconds)
 {
     _baseMapView.SetZoom(zoom, durationSeconds);
 }