简体   繁体   中英

Windows Phone 8.1 MapControl empty

I'm beginning to develop windows phone application. I would like add MapControl in my app, i followed Microsoft tutorial http://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn741528.aspx I have developer account, I got the Map service ApplicationID and Map service AuthenticationToken, add them in my project.

XAML

<Maps:MapControl 
x:Name="map"        
Grid.Row="1"
MapServiceToken="<token>"/>

with

xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps"

I load my project on emulator and device, but I can't display map. I have a black screen. There isn't token error.

Did I miss a step ?

Thanks

您桅杆启用(检查)Package.appxmanifest的“功能”选项卡中的“位置”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM