mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MainWindow.xaml
This commit is contained in:
parent
8b6b4f33af
commit
d3f31bdf6a
|
|
@ -7,6 +7,13 @@
|
||||||
|
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.Resources>
|
<Grid.Resources>
|
||||||
|
<!--
|
||||||
|
XAML declaration of BingMapsTileLayer is necessary to make Value="{Binding LoadingProgress}"
|
||||||
|
on the ProgressBar below work. Apparently dependency properties of custom types do not fire
|
||||||
|
change notifications when the type is not declared in XAML. To be reported as WinUI issue.
|
||||||
|
-->
|
||||||
|
<map:BingMapsTileLayer x:Key="dummy"/>
|
||||||
|
|
||||||
<DataTemplate x:Key="PolylineItemTemplate">
|
<DataTemplate x:Key="PolylineItemTemplate">
|
||||||
<map:MapPolyline Locations="{Binding Locations}" Stroke="Red" StrokeThickness="3"/>
|
<map:MapPolyline Locations="{Binding Locations}" Stroke="Red" StrokeThickness="3"/>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue