Struct S100DatasetExtentIndicator
One dataset extent indicator: the EPSG:3857 (web-mercator) extent of a loaded dataset together with the coarsest resolution at which that dataset's content still draws. The accent border is shown only when the viewport is zoomed out past MinVisibleResolution — i.e. exactly when the dataset itself has dropped out of scale — giving a mariner a target to zoom toward.
public readonly record struct S100DatasetExtentIndicator : IEquatable<S100DatasetExtentIndicator>
- Implements
- Inherited Members
Constructors
S100DatasetExtentIndicator(MRect, double)
One dataset extent indicator: the EPSG:3857 (web-mercator) extent of a loaded dataset together with the coarsest resolution at which that dataset's content still draws. The accent border is shown only when the viewport is zoomed out past MinVisibleResolution — i.e. exactly when the dataset itself has dropped out of scale — giving a mariner a target to zoom toward.
public S100DatasetExtentIndicator(MRect Extent, double MinVisibleResolution)
Parameters
ExtentMRectThe dataset's EPSG:3857 (web-mercator) extent.
MinVisibleResolutiondoubleThe dataset's whole-cell zoom-out cutoff (metres per pixel), beyond which the dataset renders nothing, so the border is drawn from here outward (used as the border style's
MinVisible). Pass0to always show the border — e.g. for a catalogue footprint whose cell is registered but not yet loaded.
Properties
Extent
The dataset's EPSG:3857 (web-mercator) extent.
public MRect Extent { get; init; }
Property Value
- MRect
MinVisibleResolution
The dataset's whole-cell zoom-out cutoff (metres per pixel), beyond which the
dataset renders nothing, so the border is drawn from here outward (used as the
border style's MinVisible). Pass 0 to always show the border —
e.g. for a catalogue footprint whose cell is registered but not yet loaded.
public double MinVisibleResolution { get; init; }