Click or drag to resize

QuantizedMeshTerrainProviderLatitudeToYTileCoordinate Method

Gets the Y tile coordinate for a given latitude.

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 LatitudeToYTileCoordinate(
	int level,
	double latitude
)

Parameters

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

Return Value

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