VECustomIconSpecification.CustomHTML Property

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.

Custom HTML representing the pin's appearance. When specified, this HTML represents the pin's icon for 2D views only. String.

VECustomIconSpecification.CustomHTML = string

Remarks

The custom HTML is a string value, beginning with the < character, and ending with the > character. In the middle should be well-formed HTML code.

If the CustomHTML property is present, the HTML code defined therein is used to display the icon in 2D mode. If the CustomHTML property is not present, the icon still uses the other properties that have been set for the VECustomIconSpecification object.

In 3D mode, the CustomHTML property is ignored.