TileSource.UriFormat Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the format used to create the URI.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

Syntax

Public Property UriFormat As String
public string UriFormat { get; set; }

Property Value

Type: System..::.String
The format used to create the URI.

Remarks

The UriFormat property accepts the following case-insensitive replacement strings:

  • {x}

  • {y}

  • {zoomlevel}

  • {quadkey}

  • {subdomain}

  • {urischeme}

For more information about the {x}, {y}, {zoomlevel}, and {quadkey} replacement strings, see Bing Maps Tile System and QuadKey.

Use the {subdomain} replacement string to specify different servers for different requests, to benefit from server-side load-balancing. At run time, {subdomain} is replaced by a number from 0 through 7. Use the SetSubdomains(array<array<String>[]()[]>[]()[]) method to specify a different range of numbers.

Use the {urischeme} replacement string to specify http or https.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

TileSource Class

Microsoft.Phone.Maps.Controls Namespace