Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BingMapsTask on Windows Phone 8.1

On Windows Phone 8, we call phone's Bing map app with c# using BingMapsTask . But Windows Phone 8.1, BingMapsTask won't work?

How to call Bing Maps on Windows Phone 8.1? Can anybody help?

like image 225
Metehan Toksoy Avatar asked Jan 10 '23 04:01

Metehan Toksoy


1 Answers

In Windows Phone 8.1, you can use Bing map by Launcher:

await Windows.System.Launcher.LaunchUriAsync
(
    new Uri("bingmaps:?lvl=10&where=London", UriKind.Absolute)
);

there are 2 parameters in it: lvl and where, You should put ZoomLevel and the City Name in it.

This is MSDN doc link: URI scheme for Bing Maps app

like image 140
Chris Shao Avatar answered Jan 22 '23 07:01

Chris Shao