This topic has not yet been rated - Rate this topic

TileSource.GetUri Method

Bing Services
Retrieves the URI for the tile specified by the given x, y coordinates and zoom level.

Namespace: Microsoft.Maps.MapControl
Assembly: Microsoft.Maps.MapControl (in microsoft.maps.mapcontrol.dll)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="y")] 
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="x")] 
public virtual Uri GetUri (
	int x,
	int y,
	int zoomLevel
)
/** @attribute SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="y") */ 
/** @attribute SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="x") */ 
public Uri GetUri (
	int x, 
	int y, 
	int zoomLevel
)
SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="y") 
SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="x") 
public function GetUri (
	x : int, 
	y : int, 
	zoomLevel : int
) : Uri

Parameters

x

The horizontal position of the tile.

y

The vertical position of the tile.

zoomLevel

The zoom level of the tile.

Return Value

Returns a Uri for the tile.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.