/// <summary> /// Pans the view relative to the current focus position. The deltaPos vector is expected to be in /// the coordinate system of the base projection. The new calculated focus position will be clamped to /// the world bounds and to the bounds set by Options::setPanBounds. /// /// If durationSeconds > 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="deltaPos">The coordinate difference the map should be moved by.</param> /// <param name="durationSeconds">The duration in which the tilting operation will be completed in seconds.</param> public void Pan(MapVec deltaPos, float durationSeconds) { _baseMapView.Pan(deltaPos, durationSeconds); }