Class ArrowCoverageSubLayer
An arrow-overlay coverage sub-layer (S-111 surface currents): the Mapsui
renderer rasterises Coverage through
MapsuiCoverageArrowRenderer. The arrow renderer may legitimately
produce no layer (empty grid), in which case the renderer drops this
sub-layer and falls back to FallbackExtent for the extent.
public sealed class ArrowCoverageSubLayer : CoverageSubLayerBase
- Inheritance
-
ArrowCoverageSubLayer
- Inherited Members
Properties
BaseSymbolScale
Base symbol scale applied to each arrow glyph.
public double BaseSymbolScale { get; init; }
Property Value
Coverage
The materialised, time-resolved styled coverage layer.
public required StyledCoverageLayer Coverage { get; init; }
Property Value
FallbackExtent
Geographic extent fallback (lat / lon) used when the arrow renderer produces no layer.
public required GeographicBounds FallbackExtent { get; init; }
Property Value
Palette
The active palette used to colour the arrows.
public ColorPalette? Palette { get; init; }
Property Value
SymbolProvider
Resolves a symbol name to its SVG content (pre-warmed snapshot).
public required Func<string, string?> SymbolProvider { get; init; }
Property Value
Viewport
The viewport (extent + grid dimensions) the renderer fits to.
public required Viewport Viewport { get; init; }
Property Value
YieldsToS111
Whether these arrows give way to S-111 surface currents. When set, the
S-98 rule R-111-WX-B hides the arrows that fall inside an active
S-111 dataset's CoverageExtent, so
only the S-111 arrows are drawn there. Set by the model current arrows
(issue #1228); defaults to false.
public bool YieldsToS111 { get; init; }
Property Value
Methods
WithCoverage(StyledCoverageLayer)
Returns a copy of this sub-layer drawing coverage
instead of Coverage. Used by the S-98 rule that hides
model currents inside S-111 coverage.
public ArrowCoverageSubLayer WithCoverage(StyledCoverageLayer coverage)
Parameters
coverageStyledCoverageLayerThe coverage to draw.