Example #1
0
 /// <summary>
 /// Sets the new absolute focus position. The new focus position is expected to be in
 /// the coordinate system of the base projection. The new focus position will be clamped to
 /// the world bounds and to the bounds set by Options::setPanBounds.
 ///
 /// If durationSeconds &gt; 0 the panning operation will be animated over time. If the previous panning animation has not
 /// finished by the time this method is called, it will be stopped.
 /// </summary>
 /// <param name="pos">The new focus point position in base coordinate system.</param>
 /// <param name="durationSeconds">The duration in which the tilting operation will be completed in seconds.</param>
 public void SetFocusPos(MapPos pos, float durationSeconds)
 {
     _baseMapView.SetFocusPos(pos, durationSeconds);
 }