Struct SourceFeature
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
A feature that a source feature query found.
public readonly record struct SourceFeature : IEquatable<SourceFeature>
- Implements
- Inherited Members
Remarks
See mln_source_feature in the C API reference.
Constructors
SourceFeature(string, string)
A feature that a source feature query found.
public SourceFeature(string Feature, string SourceLayerId)
Parameters
FeaturestringThe feature, as a GeoJSON feature.
SourceLayerIdstringThe feature's source layer, or empty when its source has none.
Remarks
See mln_source_feature in the C API reference.
Properties
Feature
The feature, as a GeoJSON feature.
public string Feature { get; init; }
Property Value
SourceLayerId
The feature's source layer, or empty when its source has none.
public string SourceLayerId { get; init; }