Class AisVesselRenderer
- Namespace
- EncDotNet.S100.Renderers.Mapsui.DynamicSources
- Assembly
- EncDotNet.S100.Renderers.Mapsui.dll
AIS-target renderer. Mirrors OwnShipRenderer's
hull / pictogram / CCRP-cross / heading-vector vocabulary via the
shared EncDotNet.S100.Renderers.Mapsui.DynamicSources.VesselSymbology helper, dispatched off the
AIS ship-type bucket encoded in Kind
(suffix produced by AisShipTypeClass.ToKindToken()).
public sealed class AisVesselRenderer : IDynamicFeatureRenderer
- Inheritance
-
AisVesselRenderer
- Implements
- Inherited Members
Remarks
Dispatches via a small per-class palette table — not via
KindMatchingRenderer, since the rendering is structurally
the same shape and only the colours differ. AIS targets share
the S98DisplayPlane.DynamicArrows plane with own-ship; the
per-source visibility toggles in the layer-stack panel
(PR-D2.1) keep the two independently controllable.
Default colour is green per the S-52 convention for active AIS targets (SY(AISDEF01) family). Tanker uses red (hazardous-cargo convention), passenger uses dark teal, and unknown-class targets use a neutral grey.
Methods
CanRender(DynamicFeature)
Returns true if this renderer is willing to
produce output for feature. Used by
CompositeDynamicFeatureRenderer for ordered
fallthrough.
public bool CanRender(DynamicFeature feature)
Parameters
featureDynamicFeature
Returns
Render(DynamicFeature)
Produces zero or more Mapsui features for
feature. May return an empty sequence
when the feature is unsupported or degenerate.
public IEnumerable<IFeature> Render(DynamicFeature feature)
Parameters
featureDynamicFeature
Returns
- IEnumerable<IFeature>