Beispiel #1
0
 /// <summary>
 /// Zooms the view relative to the current zoom value. Positive values zoom in, negative values zoom out.
 /// The new calculated zoom value will be clamped to the range of [0 .. 24] and to the range set by Options::setZoomRange.
 ///
 /// 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="deltaZoom">The delta zoom value.</param>
 /// <param name="durationSeconds">The duration in which the zooming operation will be completed in seconds.</param>
 public void SetRelativeZoom(float deltaZoom, float durationSeconds)
 {
     _baseMapView.Zoom(deltaZoom, durationSeconds);
 }