Table of Contents

Class GeoJsonSourceOptions

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

Options for a GeoJSON source.

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

Remarks

Zoom levels are whole numbers.

See mln_geo_json_source_options in the C API reference.

Properties

Buffer

public uint? Buffer { get; init; }

Property Value

uint?

Cluster

public bool? Cluster { get; init; }

Property Value

bool?

ClusterMaxZoom

The last zoom level that has clusters, at most 30.

public double? ClusterMaxZoom { get; init; }

Property Value

double?

ClusterMinPoints

At most 4294967295 on a 32-bit target.

public ulong? ClusterMinPoints { get; init; }

Property Value

ulong?

ClusterProperties

The clusterProperties object, or empty for none.

public string ClusterProperties { get; init; }

Property Value

string

ClusterRadius

public uint? ClusterRadius { get; init; }

Property Value

uint?

LineMetrics

public bool? LineMetrics { get; init; }

Property Value

bool?

MaxZoom

public double? MaxZoom { get; init; }

Property Value

double?

MinZoom

public double? MinZoom { get; init; }

Property Value

double?

Tolerance

public double? Tolerance { get; init; }

Property Value

double?