Table of Contents

Class OfflineRegionDefinition.GeometryRegion

Namespace
Maplibre.NativeFfi.Offline
Assembly
Maplibre.NativeFfi.dll
public sealed record OfflineRegionDefinition.GeometryRegion : OfflineRegionDefinition, IEquatable<OfflineRegionDefinition>, IEquatable<OfflineRegionDefinition.GeometryRegion>
Inheritance
OfflineRegionDefinition.GeometryRegion
Implements
Inherited Members

Constructors

GeometryRegion(string, byte[], double, double, float, bool)

public GeometryRegion(string StyleUrl, byte[] Geometry, double MinimumZoom, double MaximumZoom, float PixelRatio, bool IncludeIdeographs)

Parameters

StyleUrl string
Geometry byte[]
MinimumZoom double
MaximumZoom double
PixelRatio float
IncludeIdeographs bool

Properties

Geometry

public byte[] Geometry { get; }

Property Value

byte[]

IncludeIdeographs

public bool IncludeIdeographs { get; }

Property Value

bool

MaximumZoom

public double MaximumZoom { get; }

Property Value

double

MinimumZoom

public double MinimumZoom { get; }

Property Value

double

PixelRatio

public float PixelRatio { get; }

Property Value

float

StyleUrl

public string StyleUrl { get; }

Property Value

string

Methods

Equals(GeometryRegion?)

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

public bool Equals(OfflineRegionDefinition.GeometryRegion? other)

Parameters

other OfflineRegionDefinition.GeometryRegion

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.