mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
Reworked sample applications
This commit is contained in:
parent
32491a8e31
commit
fd7b53a37b
4 changed files with 8 additions and 12 deletions
|
|
@ -5,10 +5,6 @@
|
|||
xmlns:map="using:MapControl"
|
||||
xmlns:local="using:SampleApplication">
|
||||
|
||||
<Page.DataContext>
|
||||
<local:MapViewModel/>
|
||||
</Page.DataContext>
|
||||
|
||||
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||
<Grid.Resources>
|
||||
<DataTemplate x:Key="PolylineItemTemplate">
|
||||
|
|
@ -84,6 +80,10 @@
|
|||
</Style>
|
||||
</Grid.Resources>
|
||||
|
||||
<Grid.DataContext>
|
||||
<local:MapViewModel/>
|
||||
</Grid.DataContext>
|
||||
|
||||
<map:Map x:Name="map"
|
||||
MinZoomLevel="2" MaxZoomLevel="21" ZoomLevel="11" ManipulationMode="All"
|
||||
MapLayer="{Binding MapLayers[OpenStreetMap]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue