requestTileGeometryAsync

open override fun requestTileGeometryAsync(x: Double, y: Double, level: Int, request: Request?): Promise<TerrainData>?(source)

Requests the geometry for a given tile. The result must include terrain data and may optionally include a water mask and an indication of which child tiles are available.

Return

A promise for the requested geometry. If this method returns undefined instead of a promise, it is an indication that too many requests are already pending and the request will be retried later.

Parameters

x

The X coordinate of the tile for which to request geometry.

y

The Y coordinate of the tile for which to request geometry.

level

The level of the tile for which to request geometry.

request

The request object. Intended for internal use only.

See also