Pushpin 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 of a pushpin on the map.


public class Pushpin

Name

Description

Pushpin 

Initializes a new instance of a Pushpin object.

Name

Description

IconStyle 

A string indicating the pushpin style to use. Optional. The default value is pushpin style "1", unless the PreventIconCollision property is set to true, in which case the default pushpin style is "15".

Label 

A string containing the text to show on the pushpin. Optional. The default value is the empty string, which means there is no label.

Location 

A Location Class object specifying where the pushpin is located on the map. Required.

Show: