Table of Contents

Class GeoJsonSourceOptions

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

Remarks

These options are fixed when the source is created; later data updates keep them. Compares and hashes by property value.

Properties

Buffer

public uint? Buffer { get; set; }

Property Value

uint?

Cluster

public bool? Cluster { get; set; }

Property Value

bool?

ClusterMaximumZoom

public double? ClusterMaximumZoom { get; set; }

Property Value

double?

ClusterMinimumPoints

public uint? ClusterMinimumPoints { get; set; }

Property Value

uint?

ClusterProperties

Cluster aggregation expressions keyed by property name, as a JSON object whose members follow the MapLibre Style Spec clusterProperties form.

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

Property Value

byte[]

ClusterRadius

public uint? ClusterRadius { get; set; }

Property Value

uint?

LineMetrics

public bool? LineMetrics { get; set; }

Property Value

bool?

MaximumZoom

public double? MaximumZoom { get; set; }

Property Value

double?

MinimumZoom

public double? MinimumZoom { get; set; }

Property Value

double?

SynchronousTiling

Tiles installed data synchronously, so updated data reaches the next rendered frame instead of being tiled on a worker and shown in a later one.

public bool? SynchronousTiling { get; set; }

Property Value

bool?

TileSize

public uint? TileSize { get; set; }

Property Value

uint?

Tolerance

public double? Tolerance { get; set; }

Property Value

double?

Methods

Equals(GeoJsonSourceOptions?)

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

public bool Equals(GeoJsonSourceOptions? other)

Parameters

other GeoJsonSourceOptions

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.