0

有人请告知是否有任何方法可以禁用地图的无限水平滚动。请看截图: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>

4

0 回答 0