/// <summary> /// Animate the view parameters (focus position, tilt, rotation, zoom) so that the specified bounding box becomes fully visible. /// This method does not work before the screen size is set. /// </summary> /// <param name="mapBounds">The bounding box on the map to be made visible in the base projection's coordinate system.</param> /// <param name="screenBounds">The screen bounding box where to fit the map bounding box.</param> /// <param name="integerZoom">If true, then closest integer zoom level will be used. If false, exact fractional zoom level will be used.</param> /// <param name="durationSeconds">The duration in which the operation will be completed in seconds.</param> public void MoveToFitBounds(MapBounds mapBounds, ScreenBounds screenBounds, bool integerZoom, float durationSeconds) { _baseMapView.MoveToFitBounds(mapBounds, screenBounds, integerZoom, durationSeconds); }