[ControlPanelView.xaml]修改为中文"测试"按钮

[MapView.xaml]地图加入新key,默认位置设为北京
This commit is contained in:
pxzleo 2017-02-27 02:17:14 +08:00
parent 3c52409203
commit 57ff775913
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@
Command="{Binding LandCommand}" /> Command="{Binding LandCommand}" />
<Button Content="上锁" <Button Content="上锁"
Command="{Binding LockCommand}" /> Command="{Binding LockCommand}" />
<Button Content="Test" <Button Content="测试"
Command="{Binding TestCommand}" /> Command="{Binding TestCommand}" />
<TextBox Width="50" Text="{Binding AltP, UpdateSourceTrigger=PropertyChanged}" /> <TextBox Width="50" Text="{Binding AltP, UpdateSourceTrigger=PropertyChanged}" />
</WrapPanel> </WrapPanel>

View File

@ -11,14 +11,14 @@
d:DesignWidth="300"> d:DesignWidth="300">
<Grid> <Grid>
<bingMaps:Map Name="map" <bingMaps:Map Name="map"
CredentialsProvider="AmWbCvK6a-EUiuSvSewSUv0jWxqbIsEN5Ned6ocBkOwBk0tLra3Q7Y0dSY6MwDGT" CredentialsProvider="8IGVSMWVqW8lDaMuGr2c~XaqB2qlBDLvSvXFzrQ8c-A~AiPIQttopdwAl4kXs8xm6_r59NEGdyqXejcaMDum6qB1BUJ6e25uViKL7fEdEROP"
ZoomLevel="20"> ZoomLevel="20">
<bingMaps:Map.Mode> <bingMaps:Map.Mode>
<bingMaps:AerialMode /> <bingMaps:AerialMode />
</bingMaps:Map.Mode> </bingMaps:Map.Mode>
<bingMaps:Map.Center> <bingMaps:Map.Center>
<bingMaps:Location Latitude="23.14973333" <bingMaps:Location Latitude="40.055905"
Longitude="113.40984166" /> Longitude="116.322233" />
</bingMaps:Map.Center> </bingMaps:Map.Center>
<!--<m:OpenStreetMapTileLayer UriFormat="http://tile.openstreetmap.org/{z}/{x}/{y}.png" />--> <!--<m:OpenStreetMapTileLayer UriFormat="http://tile.openstreetmap.org/{z}/{x}/{y}.png" />-->
</bingMaps:Map> </bingMaps:Map>