QuantizedMeshTerrainProviderLongitudeToXTileCoordinate Method |
Gets the X tile coordinate for a given longitude.
Namespace:
AGI.Foundation.Terrain
Assembly:
AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static int LongitudeToXTileCoordinate(
int level,
double longitude
)
Public Shared Function LongitudeToXTileCoordinate (
level As Integer,
longitude As Double
) As Integer
public:
static int LongitudeToXTileCoordinate(
int level,
double longitude
)
static member LongitudeToXTileCoordinate :
level : int *
longitude : float -> int
Parameters
- level
- Type: SystemInt32
The zoom level. - longitude
- Type: SystemDouble
The longitude.
Return Value
Type:
Int32The X tile coordinate of the tile that contains that longitude.
Exceptions Remarks
The X coordinate increases from west to east.
That is, the origin is in the south-west.
See Also