MapUriOptions 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 options for refining the map URI request.

Syntax

public class MapUriOptions
Public Class MapUriOptions

Constructor

Name

Description

MapUriOptions 

Initializes a new instance of a MapUriOptions object.

Public Properties

Name

Description

DisplayLayers 

A string array indicating the layer data to display on the map. Optional. The default value is null.

ImageSize 

A SizeOfint Class object specifying the height and width of the image to return. Optional. The default width is 350 and the default height is 350.

ImageType 

An ImageType Enumeration value specifying the format of the image to return. Optional. The default value is ImageType.Default, which means the default changes depending on the map style specified.

PreventIconCollision 

A bool indicating whether or not to separate pushpin icons that are close to each other on the map so that they are more visible. Optional. The default value is false.

Style 

A MapStyle Enumeration value specifying the map style of the image to return. Optional. The default value is MapStyle.Road.

UriScheme

A UriScheme Enumeration value specifying the URI scheme to return. Optional. The default value is UriScheme.Http.

ZoomLevel

An int indicating the zoom level of the map to return. Optional.

See Also

MapUriRequest.Options Property