Class TileJson
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
TileUrlsIReadOnlyList<string>MinimumZoomdoubleMaximumZoomdoubleSchemeTileSchemeRawSchemeuintBoundsLatLngBounds?
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
MaximumZoom
public double MaximumZoom { get; init; }
Property Value
MinimumZoom
public double MinimumZoom { get; init; }
Property Value
RawScheme
public uint RawScheme { get; init; }
Property Value
Scheme
public TileScheme Scheme { get; init; }
Property Value
TileUrls
public IReadOnlyList<string> TileUrls { get; init; }
Property Value
Methods
Equals(TileJson?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(TileJson? other)
Parameters
otherTileJsonAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.