Click or drag to resize

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.3.420.0 (24.3.420.0)
Syntax
public static int LongitudeToXTileCoordinate(
	int level,
	double longitude
)

Parameters

level
Type: SystemInt32
The zoom level.
longitude
Type: SystemDouble
The longitude.

Return Value

Type: Int32
The X tile coordinate of the tile that contains that longitude.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when longitude is outside the range -π to π.
Remarks
The X coordinate increases from west to east. That is, the origin is in the south-west.
See Also