Table of Contents

Struct OfflineGeometryRegionDefinition

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

An offline region that covers a GeoJSON geometry.

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

Remarks

The members other than geometry mean the same as those of OfflineTilePyramidRegionDefinition.

See mln_offline_geometry_region_definition in the C API reference.

Constructors

OfflineGeometryRegionDefinition()

public OfflineGeometryRegionDefinition()

OfflineGeometryRegionDefinition(string, string, double, double, float, bool)

[SetsRequiredMembers]
public OfflineGeometryRegionDefinition(string StyleUrl, string Geometry, double MinZoom, double MaxZoom, float PixelRatio, bool IncludeIdeographs)

Parameters

StyleUrl string
Geometry string
MinZoom double
MaxZoom double
PixelRatio float
IncludeIdeographs bool

Properties

Geometry

public required string Geometry { get; init; }

Property Value

string

IncludeIdeographs

public bool IncludeIdeographs { get; init; }

Property Value

bool

MaxZoom

public double MaxZoom { get; init; }

Property Value

double

MinZoom

public double MinZoom { get; init; }

Property Value

double

PixelRatio

public float PixelRatio { get; init; }

Property Value

float

StyleUrl

public string StyleUrl { get; init; }

Property Value

string