positionToTileXY

open override fun positionToTileXY(position: Cartographic, level: Int, result: Cartesian2?): Cartesian2(source)

Calculates the tile x, y coordinates of the tile containing a given cartographic position.

Return

The specified 'result', or a new object containing the tile x, y coordinates if 'result' is undefined.

Parameters

position

The position.

level

The tile level-of-detail. Zero is the least detailed.

result

The instance to which to copy the result, or undefined if a new instance should be created.

See also