Table of Contents

Struct RenderedFeature

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A feature that a rendered feature query found.

public readonly record struct RenderedFeature : IEquatable<RenderedFeature>
Implements
Inherited Members

Remarks

See mln_rendered_feature in the C API reference.

Constructors

RenderedFeature(string, string, string, string, string)

A feature that a rendered feature query found.

public RenderedFeature(string Feature, string LayerId, string SourceId, string SourceLayerId, string State)

Parameters

Feature string

The feature, as a GeoJSON feature.

LayerId string

The layer that drew the feature.

SourceId string
SourceLayerId string

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

State string

The feature's state, as a JSON object.

Remarks

See mln_rendered_feature in the C API reference.

Properties

Feature

The feature, as a GeoJSON feature.

public string Feature { get; init; }

Property Value

string

LayerId

The layer that drew the feature.

public string LayerId { get; init; }

Property Value

string

SourceId

public string SourceId { 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

State

The feature's state, as a JSON object.

public string State { get; init; }

Property Value

string