Class ViewportLimiterWithoutLimits
Inheritance
System.Object
ViewportLimiterWithoutLimits
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mapsui.UI
Assembly: Mapsui.dll
Syntax
public class ViewportLimiterWithoutLimits : IViewportLimiter
Properties
| Improve this Doc View SourcePanLimits
Declaration
public BoundingBox PanLimits { get; set; }
Property Value
Type | Description |
---|---|
BoundingBox |
ZoomLimits
Declaration
public MinMax ZoomLimits { get; set; }
Property Value
Type | Description |
---|---|
MinMax |
Methods
| Improve this Doc View SourceLimit(IViewport, IReadOnlyList<Double>, BoundingBox)
Declaration
public void Limit(IViewport viewport, IReadOnlyList<double> mapResolutions, BoundingBox mapEnvelope)
Parameters
Type | Name | Description |
---|---|---|
IViewport | viewport | |
System.Collections.Generic.IReadOnlyList<System.Double> | mapResolutions | |
BoundingBox | mapEnvelope |
LimitExtent(IViewport, BoundingBox)
Declaration
public void LimitExtent(IViewport viewport, BoundingBox mapEnvelope)
Parameters
Type | Name | Description |
---|---|---|
IViewport | viewport | |
BoundingBox | mapEnvelope |
LimitResolution(Double, Double, Double, IReadOnlyList<Double>, BoundingBox)
Declaration
public double LimitResolution(double resolution, double screenWidth, double screenHeight, IReadOnlyList<double> mapResolutions, BoundingBox mapEnvelope)
Parameters
Type | Name | Description |
---|---|---|
System.Double | resolution | |
System.Double | screenWidth | |
System.Double | screenHeight | |
System.Collections.Generic.IReadOnlyList<System.Double> | mapResolutions | |
BoundingBox | mapEnvelope |
Returns
Type | Description |
---|---|
System.Double |