HttpMapTileDataSource.UriFormatString Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the format of the Uri for fetching tiles from an HTTP source.
public:
property Platform::String ^ UriFormatString { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring UriFormatString();
void UriFormatString(winrt::hstring value);
public string UriFormatString { get; set; }
var string = httpMapTileDataSource.uriFormatString;
httpMapTileDataSource.uriFormatString = string;
Public Property UriFormatString As String
Property Value
The format of the Uri for fetching tiles from an HTTP source.
Remarks
The UriFormat property accepts the following case-insensitive replacement strings:
- {x}
- {y}
- {zoomlevel}
- {quadkey} For more info about the {x}, {y}, and {quadkey} replacement strings, see Bing Maps Tile System.
Tip
If you have to provide a custom Uri for which these arguments aren't sufficient - for example, if you have to provide {subdomain} for load balancing - create the custom Uri in a custom handler for the UriRequested event. For more info, see Overlay tiled images on a map.