Text not showing up in custom pushpins? Is there a way?
Posted
by
Shakeeb Ahmad
on Stack Overflow
See other posts from Stack Overflow
or by Shakeeb Ahmad
Published on 2012-11-14T22:57:43Z
Indexed on
2012/11/14
22:59 UTC
Read the original article
Hit count: 255
This is the code I am using to plot my custom pushpins on Bing Maps. I can't get the text to print on the pushpin icon which is just the default pushpin but in a different color.
Is it even possible like this? Is there another way? I can't seem to find any, Help!
var pushpinOptions = {icon: '/assets/greenpin.png', visible: true};
var pushpin = new Microsoft.Maps.Pushpin(new Microsoft.Maps.Location(lat, lng), pushpinOptions, {text: alphas[i] });
© Stack Overflow or respective owner