Table of Contents

Class QueriedFeature

Namespace
Maplibre.NativeFfi.Query
Assembly
Maplibre.NativeFfi.dll

One copied query hit. Feature is a UTF-8 GeoJSON Feature. State is a UTF-8 JSON object when present.

public sealed record QueriedFeature : IEquatable<QueriedFeature>
Inheritance
QueriedFeature
Implements
Inherited Members

Constructors

QueriedFeature(byte[], string?, string?, byte[]?)

public QueriedFeature(byte[] Feature, string? SourceId, string? SourceLayerId, byte[]? State)

Parameters

Feature byte[]
SourceId string
SourceLayerId string
State byte[]

Properties

Feature

public byte[] Feature { get; }

Property Value

byte[]

SourceId

public string? SourceId { get; }

Property Value

string

SourceLayerId

public string? SourceLayerId { get; }

Property Value

string

State

public byte[]? State { get; }

Property Value

byte[]

Methods

Equals(QueriedFeature?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(QueriedFeature? other)

Parameters

other QueriedFeature

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.