tileXYToRectangle

abstract fun tileXYToRectangle(x: Double, y: Double, level: Int, result: Any? = definedExternally): Rectangle(source)

Converts tile x, y coordinates and level to a cartographic rectangle in radians.

Return

The specified 'result', or a new object containing the rectangle if 'result' is undefined.

Parameters

x

The integer x coordinate of the tile.

y

The integer y coordinate of the tile.

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