mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 23:15:14 +00:00
Added WinUI Sample Application
This commit is contained in:
parent
f8b0bcbeb1
commit
e138cb83ab
24 changed files with 421 additions and 99 deletions
|
|
@ -2,8 +2,7 @@
|
|||
x:Class="UniversalApp.MainPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:map="using:MapControl"
|
||||
xmlns:local="using:UniversalApp">
|
||||
xmlns:map="using:MapControl">
|
||||
|
||||
<Page.Resources>
|
||||
<DataTemplate x:Key="PolylineItemTemplate">
|
||||
|
|
@ -101,6 +100,7 @@
|
|||
<RowDefinition/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<map:Map x:Name="map" MinZoomLevel="2" MaxZoomLevel="20" ZoomLevel="11" ManipulationMode="All"
|
||||
Center="{x:Bind ViewModel.MapCenter, Mode=TwoWay}"
|
||||
MapLayer="{x:Bind ViewModel.MapLayers.CurrentMapLayer, Mode=OneWay}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue