|Submitted by Administrator on Thu, 01/24/2013 - 11:39am|
This blog post was authored by Mike O'Malley, a program manager on the Windows Phone developer tools team.
One of our main goals of the new Windows Phone map control is the seamless integration across our platform. Our users should expect to have the same map experience no matter where they use a map on Windows Phone 8.
To accomplish this, we decided to share the same core map control across our built-in experience and apps. The first difference you'll notice with the new control is that it does not run in the designer. This is because the new control is not all managed code, and it uses the new map platform included in the Windows Phone 8 OS. Thus, it is not available at design time like the browser control. For that small design-time price, we are able to give developers access to a ton of new and unique features, such as vector rendering, sharing of offline maps, responsive gestures, no lag markers, high frame rate rendering, and many more.
All this was made possible by our close collaboration with Nokia. We integrated Nokia's core mapping technology into the Windows Phone OS. One of the unique features is shared offline maps and map caching. When a user downloads a region of maps for offline use through the Map Downloader included in the OS, those offline maps are also available to all consumers of the map control. The Map Downloader is also available as a task API that apps can launch. Finally, if a map control in an app needs new data that is not already present on the device, the data is downloaded once and subsequently made available to all map control app consumers via a shared map cache. This allows us to conserve the user's valuable cellular data allotment.
All apps have access to offline maps – pretty cool! There is also something special about the APIs for geocode (address to coordinate), reverse geocode (coordinate to address), and routing. These are hybrid online/offline APIs; the platform determines whether each request should go online or use offline map data in the shared map cache.
Readers with world readiness in mind are probably thinking: This is neat, but will it support all the countries I sell my app in? Another great benefit of integrating Nokia's mapping technology is the huge number of countries and languages they support. You can check out the details at Nokia conversations. Nokia has broad global coverage and plans to keep the map data fresh with multiple updates every year.
In my next post, I'll cover how to use the new map control and Silverlight toolkit extensions to display locations on a map and get directions (including turn-by-turn) on all Windows Phone 8 devices.