Class LayerStackEntry
- Namespace
- EncDotNet.S100.Datasets.Pipelines.Interoperability
- Assembly
- EncDotNet.S100.Renderers.Mapsui.dll
The Mapsui-side pairing of a built Mapsui.Layers.ILayer with its
renderer-neutral SubLayerStackItem. Since issue #398 the S-98
ordering / suppression engine operates on SubLayerStackItem
(in the Mapsui-free Datasets.Pipelines assembly); this wrapper lets
the viewer keep a stable CurrentStackEntries shape while the actual
sort / suppression decision lives once, on the neutral item.
public sealed record LayerStackEntry : IEquatable<LayerStackEntry>
- Inheritance
-
LayerStackEntry
- Implements
- Inherited Members
Remarks
The S-98 plane / priority / source metadata is exposed as delegating properties over Item so existing consumers (the Layer Stack view-model, pick ranking) continue to read them off the entry unchanged.
Constructors
LayerStackEntry(ILayer, SubLayerStackItem)
The Mapsui-side pairing of a built Mapsui.Layers.ILayer with its
renderer-neutral SubLayerStackItem. Since issue #398 the S-98
ordering / suppression engine operates on SubLayerStackItem
(in the Mapsui-free Datasets.Pipelines assembly); this wrapper lets
the viewer keep a stable CurrentStackEntries shape while the actual
sort / suppression decision lives once, on the neutral item.
public LayerStackEntry(ILayer Layer, SubLayerStackItem Item)
Parameters
LayerILayerThe Mapsui layer to be drawn.
ItemSubLayerStackItemThe renderer-neutral stack item the S-98 engine ordered / suppressed. Its Payload is the original portrayal slice this
Layerwas built from (or a suppression-filtered copy).
Remarks
The S-98 plane / priority / source metadata is exposed as delegating properties over Item so existing consumers (the Layer Stack view-model, pick ranking) continue to read them off the entry unchanged.
Properties
ExtensionId
Optional IC-declared custom plane identifier (S-98 Annex A §A-3.2.1.1).
public string? ExtensionId { get; }
Property Value
Item
The renderer-neutral stack item the S-98 engine ordered / suppressed. Its
Payload is the original portrayal slice this
Layer was built from (or a suppression-filtered copy).
public SubLayerStackItem Item { get; init; }
Property Value
Layer
The Mapsui layer to be drawn.
public ILayer Layer { get; init; }
Property Value
- ILayer
Plane
The S-98 display plane this layer lives in (S-98 Annex A §4.4.1).
public S98DisplayPlane Plane { get; }
Property Value
SourceDatasetId
Stable identifier for the source dataset.
public string SourceDatasetId { get; }
Property Value
SourceFeatureType
Optional feature type code for a per-feature-type slice.
public string? SourceFeatureType { get; }
Property Value
SourceScaleDenominator
The source cell's coarsest intended display-scale denominator (a proxy for its navigational-purpose band), or null when the dataset carries no cell-wide scale. Smaller means a finer cell that paints on top of coarser overlapping cells (issue #464).
public int? SourceScaleDenominator { get; }
Property Value
- int?
WithinPlanePriority
Intra-plane ordering hint, ascending — lower draws first.
public int WithinPlanePriority { get; }