none
Pushpin long label RRS feed

  • Question

  • Hello all,

    I want to display POIs with their names with bing maps V7.

    For example, I want to display an icon with on its bottom a text like "Champs Elysees, Paris"

    When using PushpinOptions.text, the text is clipped to the icon size.

    One way to fix this would be to use a big transparent image, so that the text is not clipped, but doing this the text is misplaced (centered on the transparent image)

    I have also tried to use PushPinOptions.typeName to set a css class name on my pushpin, then using jquery replace the pushpins html content with my own content (just a text). But it does not work very well in my case, because when this jquery method is called it applies only on the pushpins displayed on the screen! It does not apply to pushpins appearing after a scroll, for example.

    So... Is there a trick to display a long (or any size) text/label in bing map V7?

    Thanks in advance!


    Saturday, April 7, 2012 10:40 PM

Answers

All replies