MapUriResponse.Uri Property

 

A string that is the URI of the requested map. Get this property from the service response.

Syntax

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

Remarks

  • The URI returned in the ImageUri property may contain placeholders that must be supplied before the URI is used. The table below lists the possible placeholders.

    URI Placeholder

    Description

    {culture}

    The culture you want to use to display labels and other text.

    {token}

    The client token of the requestor, if one exists

    Note

    If you are using Bing Maps Keys, you can ignore the &token={token} string in the ImageUrl field because this is a legacy item and is not processed as part of the HTTP request. If you are using tokens, you must upgrade your application to use Bing Maps Keys. The Bing Maps Token Service will be retired on March 30, 2012. For information about how to upgrade from tokens to keys, see Migrating from Tokens to Keys.

    • The URI returned in the Uri property is a link to a static image.

    • The Uri property is null if the service request was invalid.

    See Also

    ImageryMetadataResult.ImageUri Property
    Understanding Tiles