Introduced
Unique location and map of Windows Phone 8.0
Location (GPS)-Location API
Nokia map
Example
1. Demonstrate the application of the new Location API
Gps/demo.xaml
<phone:phoneapplicationpage x:class= "Demo.GPS.Demo" xmlns= "Http://schemas.microsoft.com/winfx/2006/xaml/pre Sentation "xmlns:x=" Http://schemas.microsoft.com/winfx/2006/xaml "xmlns:phone=" Clr-namespace: Microsoft.phone.controls;assembly=microsoft.phone "Xmlns:shell=" clr-namespace:microsoft.phone.shell;assembly= Microsoft.phone "xmlns:d=" http://schemas.microsoft.com/expression/blend/2008 "xmlns:mc=" http:// schemas.openxmlformats.org/markup-compatibility/2006 "fontfamily=" {StaticResource PhoneFontFamilyNormal} "FontSiz E= ' {StaticResource phonefontsizenormal} ' foreground= ' {StaticResource Phoneforegroundbrush} ' SupportedOrientations= "Portrait" orientation= "Portrait" mc:ignorable= "D" shell:systemtray.isvisible= "True" > <grid x : Name= "LayoutRoot" > <StackPanel> <textblock name= "Lblmsg" TEXTWR apping= "Wrap"/> <button x:name= "Btndemo "content=" get current position via GPS "click=" Btndemo_click "/> </StackPanel> ;/grid> </phone:PhoneApplicationPage>