public void SetSize(double width, double height) { _viewport.SetSize(width, height); if (_viewport.HasSize) { Limiter.LimitExtent(_viewport, Map.Envelope); } }
public void SetCenter(MReadOnlyPoint center, long duration = 0, Easing?easing = default) { if (Map?.PanLock ?? false) { return; } _viewport.SetCenter(center, duration, easing); Limiter?.LimitExtent(_viewport, Map?.Extent); }
public virtual void SetCenterAndResolution(double x, double y, double resolution, long duration = 0, Easing?easing = default) { if (Map?.PanLock ?? false) { return; } _viewport.SetCenterAndResolution(x, y, resolution, duration, easing); Limiter?.LimitExtent(_viewport, Map?.Extent); }
public void SetRotation(double rotation, long duration = 0, Easing?easing = default) { if (Map?.RotationLock ?? false) { return; } _viewport.SetRotation(rotation, duration, easing); Limiter?.LimitExtent(_viewport, Map?.Extent); }
public void SetRotation(double rotation) { if (Map.RotationLock) { return; } _viewport.SetRotation(rotation); Limiter.LimitExtent(_viewport, Map.Envelope); }
public void SetCenter(ReadOnlyPoint center) { if (Map.PanLock) { return; } _viewport.SetCenter(center); Limiter.LimitExtent(_viewport, Map.Envelope); }
public virtual void SetCenter(double x, double y) { if (Map.PanLock) { return; } _viewport.SetCenter(x, y); Limiter.LimitExtent(_viewport, Map.Envelope); }
public void SetRotation(double rotation) { _viewport.SetRotation(rotation); Limiter.LimitExtent(_viewport, Map.Envelope); }
public void SetCenter(ReadOnlyPoint center) { _viewport.SetCenter(center); Limiter.LimitExtent(_viewport, Map.Envelope); }
public virtual void SetCenter(double x, double y) { _viewport.SetCenter(x, y); Limiter.LimitExtent(_viewport, Map.Envelope); }