Hi,
I am writing an application to display images on a map using Virtual Earth, and would like to change the colour of an associated pin when the user rolls the mouse over an image on a web page. The VEPushPin class doesn't have an icon property, only allowing you to set the icon in the constructor. As far as I can tell there are two options:
1. Add a new pin with a different icon in the same spot, and delete the old pin.
2. Inspect the HTML using javascript to obtain a reference to the img object used in the pin, and change the icon using the .src property.
Neither strike me as being particularly nice or robust. Does anyone have a more elegant solution
Thanks your help!