| Description | : The `Get Map Tiles` API enables users to request map tiles in either vector or raster formats, typically for integration into a map control or SDK. Supported tile types include Azure Maps road tiles and real-time Weather Radar tiles. By default, the Azure Maps [Web SDK](/azure/azure-maps/about-azure-maps#web-sdk) uses vector tiles for rendering its web map control. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "RenderV2_GetMapTile",
"Description": {
"new": "The `Get Map Tiles` API enables users to request map tiles in either vector or raster formats, typically for integration into a map control or SDK. Supported tile types include Azure Maps road tiles and real-time Weather Radar tiles. By default, the Azure Maps [Web SDK](/azure/azure-maps/about-azure-maps#web-sdk) uses vector tiles for rendering its web map control.",
"old": "**Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier).\n\nThe Get Map Tiles API allows users to request map tiles in vector or raster formats typically to be integrated into a map control or SDK. Some example tiles that can be requested are Azure Maps road tiles, real-time Weather Radar tiles or the map tiles created using [Azure Maps Creator](https://aka.ms/amcreator). By default, Azure Maps uses vector tiles for its web map control (Web SDK) and Android SDK."
},
"$parameters": [
{
"#name": "tilesetId",
"Description": {
"new": "A tileset is a collection of raster or vector data broken up into a uniform grid of square tiles at preset zoom levels. Every tileset has a **tilesetId** to use when making requests. The ready-to-use tilesets supplied by Azure Maps are listed below. For example, microsoft.base.",
"old": "A tileset is a collection of raster or vector data broken up into a uniform grid of square tiles at preset zoom levels. Every tileset has a **tilesetId** to use when making requests. The **tilesetId** for tilesets created using [Azure Maps Creator](https://aka.ms/amcreator) are generated through the [Tileset Create API](https://docs.microsoft.com/rest/api/maps-creator/tileset). The ready-to-use tilesets supplied by Azure Maps are listed below. For example, microsoft.base."
}
}
]
}
⚼ Request
GET:
/map/tile
{
x-ms-client-id:
string
,
api-version:
string
,
tilesetId:
string
,
zoom:
integer
,
x:
integer
,
y:
integer
,
timeStamp:
string
,
tileSize:
string
,
language:
string
,
view:
string
,
}
⚐ Response (200)
{
$headers:
{
,
content-type:
string
,
}
$schema:
object
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
]
,
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}