getTileBounds

Description

Returns the geographic bounds of a specified map tile. The bounds are expressed in terms of the map's coordinate system.

Parameters

For information on the parameter types listed below, see Request URL Data Types.

Parameter Type Required Description
name String yes Specifies the name of the named tile from which the tile is generated. You must specify the location in the repository for the named tile.
level Integer yes

Specifies the zoom level of the tile whose bounds are to be returned.

This parameter must be set to a value greater than or equal to the minLevel value and less than or equal to the maxLevel value for the named map. You can determine these values by calling the getDescription method and examining the returned MapDescription object. For more information, see getDescription and MapDescription.

row Integer yes Specifies the grid row number of the map tile whose bounds are to be returned.
col Integer yes Specifies the grid column number of the map tile whose bounds are to be returned.
output String yes Specifies the response format. Must be json.

Returns

A Bounds object located in a JSON field named tileBounds. See Bounds.

Example


http://<server>:<port>/rest/Spatial/LegacyMapTilingService/getTileBounds?
  name=/NamedTiles/WorldTile
  &level=4
  &row=1
  &col=1
  &output=json