Version 7.3. Added tile and map image progress reporting.

This commit is contained in:
Clemens 2022-08-05 22:56:00 +02:00
parent 17fdd63ce9
commit e8b37f03ff
3 changed files with 12 additions and 15 deletions

View file

@ -111,9 +111,9 @@
</map:Pushpin> </map:Pushpin>
</map:Map> </map:Map>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#AFFFFFFF"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#AFFFFFFF"
<ProgressBar Width="100" Height="10" Margin="4,2" Maximum="1" DataContext="{Binding MapLayer, ElementName=map}">
Value="{Binding MapLayer.LoadingProgress, ElementName=map}"> <ProgressBar Width="100" Height="8" Margin="4,2" VerticalAlignment="Center" Maximum="1" Value="{Binding LoadingProgress}">
<ProgressBar.IsIndeterminate> <ProgressBar.IsIndeterminate>
<Binding Path="Value" RelativeSource="{RelativeSource Self}"> <Binding Path="Value" RelativeSource="{RelativeSource Self}">
<Binding.Converter> <Binding.Converter>
@ -130,8 +130,7 @@
</ProgressBar.Visibility> </ProgressBar.Visibility>
</ProgressBar> </ProgressBar>
<TextBlock Margin="4,2" FontSize="10" <TextBlock Margin="4,2" FontSize="10" local:HyperlinkText.InlinesSource="{Binding Description}"/>
local:HyperlinkText.InlinesSource="{Binding MapLayer.Description, ElementName=map}"/>
</StackPanel> </StackPanel>
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4" <Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"

View file

@ -111,9 +111,9 @@
</map:Pushpin> </map:Pushpin>
</map:Map> </map:Map>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#AFFFFFFF"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#AFFFFFFF"
<ProgressBar Width="100" Height="10" Margin="4,2" Maximum="1" DataContext="{Binding MapLayer, ElementName=map}">
Value="{Binding MapLayer.LoadingProgress, ElementName=map}"> <ProgressBar Width="100" Height="8" Margin="4,2" VerticalAlignment="Center" Maximum="1" Value="{Binding LoadingProgress}">
<ProgressBar.IsIndeterminate> <ProgressBar.IsIndeterminate>
<Binding Path="Value" RelativeSource="{RelativeSource Self}"> <Binding Path="Value" RelativeSource="{RelativeSource Self}">
<Binding.Converter> <Binding.Converter>
@ -130,8 +130,7 @@
</ProgressBar.Visibility> </ProgressBar.Visibility>
</ProgressBar> </ProgressBar>
<TextBlock Margin="4,2" FontSize="10" <TextBlock Margin="4,2" FontSize="10" local:HyperlinkText.InlinesSource="{Binding Description}"/>
local:HyperlinkText.InlinesSource="{Binding MapLayer.Description, ElementName=map}"/>
</StackPanel> </StackPanel>
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4" <Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"

View file

@ -138,9 +138,9 @@
<map:Pushpin AutoCollapse="True" Location="53.5,8.2" Content="N 53°30' E 8°12'"/> <map:Pushpin AutoCollapse="True" Location="53.5,8.2" Content="N 53°30' E 8°12'"/>
</map:Map> </map:Map>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#AFFFFFFF"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#AFFFFFFF"
<ProgressBar Width="100" Height="8" Margin="4,2" VerticalAlignment="Center" Maximum="1" DataContext="{Binding MapLayer, ElementName=map}">
Value="{Binding MapLayer.LoadingProgress, ElementName=map}"> <ProgressBar Width="100" Height="8" Margin="4,2" VerticalAlignment="Center" Maximum="1" Value="{Binding LoadingProgress}">
<ProgressBar.Style> <ProgressBar.Style>
<Style TargetType="ProgressBar"> <Style TargetType="ProgressBar">
<Style.Triggers> <Style.Triggers>
@ -155,8 +155,7 @@
</ProgressBar.Style> </ProgressBar.Style>
</ProgressBar> </ProgressBar>
<TextBlock Margin="4,2" FontSize="10" <TextBlock Margin="4,2" FontSize="10" local:HyperlinkText.InlinesSource="{Binding Description}"/>
local:HyperlinkText.InlinesSource="{Binding MapLayer.Description, ElementName=map}"/>
</StackPanel> </StackPanel>
<local:OutlinedText <local:OutlinedText