Table of Contents

Class TileJson

Namespace
Maplibre.NativeFfi.Style
Assembly
Maplibre.NativeFfi.dll

Retained TileJSON fields for an inline tile source.

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

Remarks

RawScheme preserves a scheme value that has no named TileScheme member. The tile URL list is a copied snapshot.

Constructors

TileJson(IReadOnlyList<string>, double, double, TileScheme, uint, LatLngBounds?)

Retained TileJSON fields for an inline tile source.

public TileJson(IReadOnlyList<string> TileUrls, double MinimumZoom, double MaximumZoom, TileScheme Scheme, uint RawScheme, LatLngBounds? Bounds)

Parameters

TileUrls IReadOnlyList<string>
MinimumZoom double
MaximumZoom double
Scheme TileScheme
RawScheme uint
Bounds LatLngBounds?

Remarks

RawScheme preserves a scheme value that has no named TileScheme member. The tile URL list is a copied snapshot.

Properties

Bounds

public LatLngBounds? Bounds { get; init; }

Property Value

LatLngBounds?

MaximumZoom

public double MaximumZoom { get; init; }

Property Value

double

MinimumZoom

public double MinimumZoom { get; init; }

Property Value

double

RawScheme

public uint RawScheme { get; init; }

Property Value

uint

Scheme

public TileScheme Scheme { get; init; }

Property Value

TileScheme

TileUrls

public IReadOnlyList<string> TileUrls { get; init; }

Property Value

IReadOnlyList<string>

Methods

Equals(TileJson?)

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

public bool Equals(TileJson? other)

Parameters

other TileJson

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.