MapUriRequest Class

 

This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see Bing Maps REST Services. 

Contains the properties needed to make a GetMapUri service request. This class inherits from the RequestBase Class.

Syntax

public class MapUriRequest : RequestBase
Public Class MapUriRequest Inherits RequestBase

Constructor

Name

Description

MapUriRequest

Initializes a new instance of a MapUriRequest object.

Public Properties

Name

Description

Center 

A Location Class object specifying the coordinates of the center of the map. Optional. The Center, MajorRoutesDestination, or Pushpins property must be defined.

Credentials

A Credentials Class object that identifies the requestor. Required. (Inherited from the RequestBase Class.)

Culture

A string specifying the culture in which to return results. Optional. The default value is "en-US". (Inherited from the RequestBase Class.)

ExecutionOptions

An ExecutionOptions Class object specifying calculation and return options of the request. Optional. (Inherited from the RequestBase Class.)

MajorRoutesDestination

A Location Class object specifying the location that should be used if four major routes to that location should be displayed on the map. Optional. The Center, MajorRoutesDestination, or Pushpins property must be defined.

Options 

A MapUriOptions Class object containing properties for refining the map URI request. Optional.

Pushpins 

A Pushpin Class array containing the pushpins to display on the map. Optional. The Center, MajorRoutesDestination, or Pushpins property must be defined.

UserProfile

A UserProfile Class object containing user information helpful in service calculations. Optional. (Inherited from the RequestBase Class.)