Struct UnwrappedTileId
Unwrapped tile identifier in a slippy map. Similar to CanonicalTileId, but might go around the globe.
Namespace:Mapbox.Map
Assembly:Mapbox.Map.dll
Syntax
public struct UnwrappedTileId
Constructors
UnwrappedTileId(Int32, Int32, Int32)
Initializes a new instance of the UnwrappedTileId struct, representing a tile coordinate in a slippy map that might go around the globe.
Declaration
public UnwrappedTileId(int z, int x, int y)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | z | The z coordinate. |
System.Int32 | x | The x coordinate. |
System.Int32 | y | The y coordinate. |
Fields
X
The X coordinate in the tile grid.
Declaration
public readonly int X
Field Value
Type | Description |
---|---|
System.Int32 |
Y
The Y coordinate in the tile grid.
Declaration
public readonly int Y
Field Value
Type | Description |
---|---|
System.Int32 |
Z
The zoom level.
Declaration
public readonly int Z
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
Canonical
Gets the canonical tile identifier.
Declaration
public CanonicalTileId Canonical { get; }
Property Value
Type | Description |
---|---|
CanonicalTileId | The canonical tile identifier. |
Methods
ToString()
Returns a System.String that represents the current UnwrappedTileId.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current UnwrappedTileId. |