Maps v7: HTML/CSS in pushpin RRS feed

  • Question

  • I’m upgrading from Bing Maps v6.3 to v7.

    How can I embed HTML into the pushpin?

    In v6 I would pass HTML to SetCustomIcon.  What is the v7 equivalent?  I want to use HTML as a container so CSS will display the pin image from an image sprite, not var pushpinOptions = { icon: './IMG/pushpin.png' };


    • Moved by Ricky_Brundritt Saturday, March 10, 2012 1:36 PM (From:Bing Maps: Map Control and Web services Development)
    Monday, February 20, 2012 9:11 PM


  • You can set the typeName property of the PushpinOptions assigned to the pushpin. (

    This will assign a CSS class that you can attach the image sprite to.

    twitter: @alastaira blog:

    • Marked as answer by danactive Monday, February 20, 2012 10:39 PM
    Monday, February 20, 2012 9:30 PM