Question

I'm attempting to display data through the text of a Pushpin object. However, the text color defaults to white which is nigh-invisible when the backdrop is a road-style MapView. Looking through the API, paying especially close attention to PushpinOptions, I couldn't find anything that manipulated text color. Considering that this seems to a fairly basic feature, I'm a little confused as to why it doesn't exist or at least is really hard to find.

Am I missing something or does Bing Maps for Android really not let you change the default text color for a Pushpin object?

Was it helpful?

Solution

Having had a look through the source there is no support for changing the text color as it stands.

The source is available at http://bingmapsandroidsdk.codeplex.com/ so you may be able to hack it to get what you are after depending if the Bing Maps API itself supports what you are after. This will of course require a bit of extra effort but may be your only option other than a workaround using layers.

UPDATE

Having done a little extra digging about in the MSDN documentation for the pushpin class it doesn't appear to be supported not sure if there is a more ingenious way around this with CSS but it's not going to be a simple matter of implementing additional features of the API

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top