Bing Maps v8 API - Pushpin options RRS feed

  • Question

  • How to set custom css to pushpin in Bing maps V8?

    Below is the sample code, it uses 'typeName' property to add custom css to the pushpin in Bing maps V7.

    var pushpinOptions = { typeName: "spriteimg" + data[i].AssetTypeCD + Alramcss, icon: '../Images/Asset/' + 'transparent_asset.png', anchor: new Microsoft.Maps.Point(13, 26) };

    Thursday, April 21, 2016 9:40 AM