Table of Contents

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

Feature string

The feature, as a GeoJSON feature.

SourceLayerId string

The 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

string

SourceLayerId

The feature's source layer, or empty when its source has none.

public string SourceLayerId { get; init; }

Property Value

string