Table of Contents

Class RenderedFeatureQueryOptions

Namespace
Maplibre.NativeFfi.Query
Assembly
Maplibre.NativeFfi.dll
public sealed record RenderedFeatureQueryOptions : IEquatable<RenderedFeatureQueryOptions>
Inheritance
RenderedFeatureQueryOptions
Implements
Inherited Members

Remarks

Compares and hashes by property value, comparing LayerIds element by element. Assigning LayerIds snapshots the caller's list. Keep an instance unmodified while it is a key in a hash-based collection.

Properties

Filter

public byte[]? Filter { get; set; }

Property Value

byte[]

LayerIds

public IReadOnlyList<string>? LayerIds { get; set; }

Property Value

IReadOnlyList<string>

Methods

Equals(RenderedFeatureQueryOptions?)

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

public bool Equals(RenderedFeatureQueryOptions? other)

Parameters

other RenderedFeatureQueryOptions

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.