Windows Phone location tool in emulator down? No problem!

To enable developers to test applications that somehow rely on location services without having an actual device, Microsoft added a location tool to the Windows Phone emulator back in Mango release. For some reason, the tool stopped working and the Bing map is not rendered if you try to use it today. Without a map, you can’t add pushpins to it which would simulate your device actually having latitude and longitude – location somewhere on Earth. Luckily, there’s a workaround! EDIT: The problem has been recognized by Microsoft, and the team seams to be working on it. Currently, there…

Read More

Bing maps data bound pushpins fade-in animation

When you use Bing Maps and place pushpins on it, you have two basic options. One is to fetch all the pushpins (actually, locations) from some service and then programmatically add them to the map, or you can bind all the pins (locations) through MapItemsControl with ObservableCollection. In this article, I’ll show you how to add pins from the background worker in case you’re fetching a lot of them at the same time and you’re using data binding, and also how to create a smooth animation to make the pins fade-in as they become available. I will…

Read More

Show a tooltip for tapped pushpin on Windows Phone

I’ve been working on a Windows Phone project which includes a lot of pushpins on Bing maps which carry information important to the user. Now, I wanted some form of interaction in the form of a tooltip – user can request more information about particular pushpin by tapping on it. Of course, the word tooltip might be misleading because it usually involves mouse pointer placed above a control for a short period of time before the tooltip gets shown. There is no such thing on Windows Phone like placing a mouse pointer over a control, but the effect can easily…

Read More

Making a custom Windows Phone Bing Maps PushPin from an image

Standard pushpins that can be used on a Bing map can get rather boring. Most of the applications which have certain artwork and styling need to use custom pushpins to display different things on a map. In this article, I’ll show how to quickly create a custom pushpin from Expression Design to the application Let’s start from a design application such as Expression Design or a free Paint.NET. Create an image that will be used as a pushpin. I created a pushpin similar to the native ones, just changing the colors and writing “igrali pin” on it,…

Read More

MVP Reconnect - say hi on Twitter

Microsoft MCSD

profile for igrali at Stack Overflow, Q&A for professional and enthusiast programmers

Latest Posts