Dela via


MapsRenderingClient.TileXYToBoundingBox(MapTileIndex, Int32) Method

Definition

Calculates the bounding box of a tile.

public static Azure.Core.GeoJson.GeoBoundingBox TileXYToBoundingBox (Azure.Maps.Rendering.MapTileIndex mapTileIndex, int tileSize);
static member TileXYToBoundingBox : Azure.Maps.Rendering.MapTileIndex * int -> Azure.Core.GeoJson.GeoBoundingBox
Public Shared Function TileXYToBoundingBox (mapTileIndex As MapTileIndex, tileSize As Integer) As GeoBoundingBox

Parameters

mapTileIndex
MapTileIndex

Tile X, Y coordinate and zoom level

tileSize
Int32

The size of the tiles in the tile pyramid.

Returns

A bounding box of the tile defined as an array of numbers in the format of GeoBoundingBox.

Applies to