简体   繁体   English

以全屏模式显示地图控件

[英]Show Map control in a full screen mode

Is there any way to display a map in full screen on a Windows Phone 7.1 app ? 有什么方法可以在Windows Phone 7.1应用程序中全屏显示地图吗? If I try to do this, there is black strips on top and on bottom on my map. 如果我尝试这样做,则地图的顶部和底部都会出现黑条。

thanks for help 感谢帮助

To show map in full mode, ensure that it has no margins and that is either the only element on the page or that the entire parent chain contains no Padding nor Margin properties. 要以全屏模式显示地图,请确保它没有边距,并且它不是页面上的唯一元素,或者整个父链均不包含“ Padding或“ Margin属性。 Also, set shell:SystemTray.IsVisible to False or set its opacity to something less than 1. Same for ApplicationBar , either remove it or set its opacity to something less than 1. 另外,将shell:SystemTray.IsVisible设置为False或将其不透明度设置为小于1。与ApplicationBar相同,将其移除或将其不透明度设置为小于1。

What device are you running your application on? 您在什么设备上运行应用程序? Are you running on HTC 8X or ATIV, those black bars cannot be removed. 在HTC 8X或ATIV上运行时,这些黑条无法去除。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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