April 2011 Blog Posts
Sunday, April 10, 2011 8:35 PM | Comments

I’ve just finished my new app called Transit Directions. As the name hopefully implies, the app helps people get around a city with public transit. It will provide step-by-step directions for 11 cities, with an interactive map to aid the experience. I spent a bunch of time polishing this app to replicate the native Bing Maps app experience, hopefully it paid off. I assume this functionality will be built into the native app with the Mango phone update, so this baby has a limited shelf-life. B

Sunday, April 3, 2011 1:29 PM | Comments

update I’ve updated the code to check for the MapZoom event; also fixed a typo of MapClick to MouseClick.   Original Post The Windows Phone Bing Maps control is very close to its desktop Silverlight counterpart, with few missing features. In fact none of the limitations have really impacted my phone projects, until today I ran into a peculiarly missing event: MouseClick. Without MapClick there is no built-in way (to my knowledge) to detect when the user taps on the map. The Map control unfortunately swallows all ManipulationCompleted events, and MouseLeftButtonUp/Down get fired even when the user pans or zooms the map, which we don’t want to concern ourselves with. Blend Triggers to the rescue The solution I came up with is a Trigger called MapTapTrigger. In meeting with a number of other WP7 developers over the past year I came...