Reputation: 2335
I'm trying to create a pushpin with a solid color on a Bing Maps WPF Control:
pushPin.Background = new System.Windows.Media.SolidColorBrush(MyMapColors.Green);
Despite using a SolidColorBrush, the pin that gets drawn has a gradient or a reflection of some sort. How do I make this solid?
Alternatively, if I could reproduce the look of the pushpin, that would work as well. I need to place a corresponding graphic on my search results list and I want the images to match.
Upvotes: 2
Views: 2248
Reputation: 53
Just for information: the link given by rbrundritt is broken, but is available on the Wayback Machine at:
Upvotes: 1
Reputation: 17954
The pushpin has a gradient in the pin template above the circle for the background color. The only way around this is to create a custom pushpin image and use that instead of the default pushpin. Like this:
Upvotes: 1