mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update layout
This commit is contained in:
parent
209833561e
commit
8b6b4f33af
|
|
@ -111,9 +111,15 @@
|
|||
</map:Pushpin>
|
||||
</map:Map>
|
||||
|
||||
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"
|
||||
Background="#AFFFFFFF" IsHitTestVisible="False">
|
||||
<TextBlock x:Name="mouseLocation" FontFamily="Consolas" Margin="4,2" Visibility="Collapsed"/>
|
||||
</Border>
|
||||
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#AFFFFFFF"
|
||||
DataContext="{Binding MapLayer, ElementName=map}">
|
||||
<ProgressBar Width="100" Height="8" Margin="4,2" VerticalAlignment="Center" Maximum="1" Value="{Binding LoadingProgress}">
|
||||
<ProgressBar Width="100" Height="8" Margin="4,2" VerticalAlignment="Center"
|
||||
Maximum="1" Value="{Binding LoadingProgress}">
|
||||
<ProgressBar.IsIndeterminate>
|
||||
<Binding Path="Value" RelativeSource="{RelativeSource Self}">
|
||||
<Binding.Converter>
|
||||
|
|
@ -133,11 +139,6 @@
|
|||
<TextBlock Margin="4,2" FontSize="10" local:HyperlinkText.InlinesSource="{Binding Description}"/>
|
||||
</StackPanel>
|
||||
|
||||
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"
|
||||
Background="#AFFFFFFF" IsHitTestVisible="False">
|
||||
<TextBlock x:Name="mouseLocation" FontFamily="Consolas" Margin="4,2" Visibility="Collapsed"/>
|
||||
</Border>
|
||||
|
||||
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="6" Background="#7FFFFFFF">
|
||||
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
||||
Margin="2" Padding="8" ToolTipService.ToolTip="Map Layers and Overlays"
|
||||
|
|
|
|||
|
|
@ -111,9 +111,15 @@
|
|||
</map:Pushpin>
|
||||
</map:Map>
|
||||
|
||||
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"
|
||||
Background="#AFFFFFFF" IsHitTestVisible="False">
|
||||
<TextBlock x:Name="mouseLocation" FontFamily="Consolas" Margin="4,2" Visibility="Collapsed"/>
|
||||
</Border>
|
||||
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#AFFFFFFF"
|
||||
DataContext="{Binding MapLayer, ElementName=map}">
|
||||
<ProgressBar Width="100" Height="8" Margin="4,2" VerticalAlignment="Center" Maximum="1" Value="{Binding LoadingProgress}">
|
||||
<ProgressBar Width="100" Height="8" Margin="4,2" VerticalAlignment="Center"
|
||||
Maximum="1" Value="{Binding LoadingProgress}">
|
||||
<ProgressBar.IsIndeterminate>
|
||||
<Binding Path="Value" RelativeSource="{RelativeSource Self}">
|
||||
<Binding.Converter>
|
||||
|
|
@ -133,11 +139,6 @@
|
|||
<TextBlock Margin="4,2" FontSize="10" local:HyperlinkText.InlinesSource="{Binding Description}"/>
|
||||
</StackPanel>
|
||||
|
||||
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"
|
||||
Background="#AFFFFFFF" IsHitTestVisible="False">
|
||||
<TextBlock x:Name="mouseLocation" FontFamily="Consolas" Margin="4,2" Visibility="Collapsed"/>
|
||||
</Border>
|
||||
|
||||
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="6">
|
||||
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
||||
Margin="2" Padding="8" ToolTipService.ToolTip="Map Layers and Overlays"
|
||||
|
|
|
|||
|
|
@ -138,9 +138,17 @@
|
|||
<map:Pushpin AutoCollapse="True" Location="53.5,8.2" Content="N 53°30' E 8°12'"/>
|
||||
</map:Map>
|
||||
|
||||
<local:OutlinedText
|
||||
x:Name="mouseLocation" Margin="4" FontFamily="Consolas"
|
||||
Background="{Binding Background, ElementName=map}"
|
||||
Foreground="{Binding Foreground, ElementName=map}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Top"
|
||||
IsHitTestVisible="False"/>
|
||||
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#AFFFFFFF"
|
||||
DataContext="{Binding MapLayer, ElementName=map}">
|
||||
<ProgressBar Width="100" Height="8" Margin="4,2" VerticalAlignment="Center" Maximum="1" Value="{Binding LoadingProgress}">
|
||||
<ProgressBar Width="100" Height="8" Margin="4,2" VerticalAlignment="Center"
|
||||
Maximum="1" Value="{Binding LoadingProgress}">
|
||||
<ProgressBar.Style>
|
||||
<Style TargetType="ProgressBar">
|
||||
<Style.Triggers>
|
||||
|
|
@ -158,13 +166,6 @@
|
|||
<TextBlock Margin="4,2" FontSize="10" local:HyperlinkText.InlinesSource="{Binding Description}"/>
|
||||
</StackPanel>
|
||||
|
||||
<local:OutlinedText
|
||||
x:Name="mouseLocation" Margin="4" FontFamily="Consolas"
|
||||
Background="{Binding Background, ElementName=map}"
|
||||
Foreground="{Binding Foreground, ElementName=map}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Top"
|
||||
IsHitTestVisible="False"/>
|
||||
|
||||
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="6">
|
||||
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
||||
Margin="2" ToolTip="Map Layers and Overlays"
|
||||
|
|
|
|||
Loading…
Reference in a new issue