如何在Bing Map Control中禁用水平无限滚动

时间:2013-10-22 07:27:56

标签: wpf bing-maps pixelsense

有人请告诉我是否有任何方法可以禁用无限水平滚动地图。 请参阅屏幕截图:http://imgur.com/BmxLrbx

<s:SurfaceWindow x:Class="BingMap.SurfaceWindow1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="http://schemas.microsoft.com/surface/2008"
xmlns:m="clr-namespace:Microsoft.Maps.MapControl.WPF;assembly=Microsoft.Maps.MapControl.WPF"

Title="BingMap"  
>
<Grid x:Name="LayoutRoot" Background="White" Height="1080" Width="1920" >
    <m:Map Mode="Road" Name="globalmap" CredentialsProvider="BingMapsKey"
               Center="25.257505,51.571884"
         ZoomLevel="2.5" >
    </m:Map>
</Grid>

0 个答案:

没有答案