GetMapTileOptions Class

Definition

Options for rendering tiles.

public class GetMapTileOptions
type GetMapTileOptions = class
Public Class GetMapTileOptions
Inheritance
GetMapTileOptions

Constructors

GetMapTileOptions(MapTileSetId, MapTileIndex)

GetMapTileOptions constructor.

Properties

Language

Language in which search results should be returned. Should be one of supported IETF language tags, case insensitive. When data in specified language is not available for a specific field, default language is used. Please refer to Supported Languages for details.

LocalizedMapView

The View parameter (also called the "user region" parameter) allows you to show the correct maps for a certain country/region for geopolitically disputed regions. Different countries have different views of such regions, and the View parameter allows your application to comply with the view required by the country your application will be serving. By default, the View parameter is set to “Unified” even if you haven’t defined it in the request. It is your responsibility to determine the location of your users, and then set the View parameter correctly for that location. Alternatively, you have the option to set ‘View=Auto’, which will return the map data based on the IP address of the request. The View parameter in Azure Maps must be used in compliance with applicable laws, including those regarding mapping, of the country where maps, images and other data and third party content that you are authorized to access via Azure Maps is made available. Example: view=IN. Please refer to Supported Views for details and to see the available Views.

MapTileIndex

Zoom level, and coordinate of the tile on zoom grid. The value of X and Y coordinate in MapTileIndex must be in the range [0, (2^zoom)-1]]. Please see Zoom Levels and Tile Grid for details.

MapTileSetId

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 MapTileSetId to use when making requests. The MapTileSetId for tilesets created using Azure Maps Creator are generated through the Tileset Create API. The ready-to-use tilesets supplied by Azure Maps are listed below. For example, microsoft.base.

MapTileSize

The size of the returned map tile in pixels. Possible value: Size256 and Size512

TimeStamp

The desired date and time of the requested tile. This parameter must be specified in the standard date-time format (e.g. 2019-11-14T16:03:00-08:00), as defined by ISO 8601. This parameter is only supported when MapTileSetId option is set to one of the values below.

Applies to