none
Bing Maps v8 API - Cluster Pushpins RRS feed

  • Question

  • How to set Cluster pushpin text count font-size in V8?

    Sample code:

     cluster.setOptions({
                            icon: '../Images/ClusterIcons/' + clusterPin,
                            text: strPinCount,                       
                            textOffset: new Microsoft.Maps.Point(0, 5),
                            anchor: new Microsoft.Maps.Point(12, 10)
                        });

    Tuesday, May 3, 2016 10:47 AM

Answers

  • Currently there is no font customization available with the text, title or subTitle properties of pushpins. If you really want to customize the style of the text you can create an SVG pushpin and define the text styles as part of that.

    [Blog] [twitter] [LinkedIn]

    Tuesday, May 3, 2016 3:53 PM