VECustomIconSpecification Class
You are not viewing the latest version of the AJAX control. Bing Maps AJAX V7 is the recommended JavaScript control for Bing Maps. If you need this documentation, it is available in as a CHM or PDF download.
Specifies the appearance of a VEShape Class object's custom icon.
Constructor
Name | Description | |
---|---|---|
Initializes a new instance of the VECustomIconSpecification object. |
Public Properties
Name | Description |
---|---|
A VEColor object representing the icon's background and transparency. |
|
Custom HTML representing the pin's appearance. When specified, this HTML represents the pin's icon for 2D views only. String. |
|
A VEColor object representing the icon's text color and transparency. |
|
A String representing the URL of an image file. |
|
A VEPixel object representing the image's offset from the icon's anchor. |
|
Specifies whether the text for the icon should be bold. Boolean. |
|
The actual text to display for the icon. String. |
|
A String containing the name of the font to use for the icon text. |
|
Specifies whether the text for the icon should be italic. Boolean. |
|
A VEPixel object representing the amount to offset text from the top left corner. |
|
Specifies the size at which to display text, in points. Integer. |
|
Specifies whether the text for the icon should be underlined. Boolean. |
Remarks
The 3D control cannot accept custom HTML for custom icons. This class allows you to specify custom HTML for an icon in 2D mode, if desired, as well as a parameterized property list to define the custom icon's appearance in 3D mode. If you do not need to support custom icons in 3D mode, do not use this class.