Struct MercatorBounds
A Mapsui-free EPSG:3857 (Web Mercator) bounding box, expressed in projected metres. Used when a processor has already projected its geometry to Web Mercator (e.g. station-series glyph layers) and the Mapsui renderer needs the extent verbatim.
public readonly record struct MercatorBounds : IEquatable<MercatorBounds>
- Implements
- Inherited Members
Constructors
MercatorBounds(double, double, double, double)
A Mapsui-free EPSG:3857 (Web Mercator) bounding box, expressed in projected metres. Used when a processor has already projected its geometry to Web Mercator (e.g. station-series glyph layers) and the Mapsui renderer needs the extent verbatim.
public MercatorBounds(double MinX, double MinY, double MaxX, double MaxY)
Parameters
MinXdoubleMinimum easting (metres).
MinYdoubleMinimum northing (metres).
MaxXdoubleMaximum easting (metres).
MaxYdoubleMaximum northing (metres).
Properties
MaxX
Maximum easting (metres).
public double MaxX { get; init; }
Property Value
MaxY
Maximum northing (metres).
public double MaxY { get; init; }
Property Value
MinX
Minimum easting (metres).
public double MinX { get; init; }
Property Value
MinY
Minimum northing (metres).
public double MinY { get; init; }