Version 7.1.0: Added MapUiTools

This commit is contained in:
Clemens 2022-01-11 19:42:12 +01:00
parent 731158c22d
commit 2ac4985c47
37 changed files with 437 additions and 463 deletions

View file

@ -2,6 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:map="using:MapControl"
xmlns:tools="using:MapControl.UiTools"
xmlns:local="using:SampleApplication">
<Grid>
@ -116,16 +117,16 @@
</Border>
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="6">
<local:MapLayersMenuButton
<tools:MapLayersMenuButton
Margin="2" Padding="8" ToolTipService.ToolTip="Map Layers and Overlays"
Map="{Binding ElementName=map}"
MapLayers="{Binding MapLayers}"
MapOverlays="{Binding MapOverlays}"/>
<!--<local:MapProjectionsMenuButton
<tools:MapProjectionsMenuButton
Margin="2" Padding="8" ToolTipService.ToolTip="Map Projections"
Map="{Binding ElementName=map}"
MapProjections="{Binding MapProjections}"/>-->
MapProjections="{Binding MapProjections}"/>
<Slider Orientation="Vertical" Margin="4,8" Height="100"
Minimum="{Binding MinZoomLevel, ElementName=map}"
@ -140,7 +141,7 @@
</Binding.Converter>
</Binding>
</Button.Visibility>
<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&#xEBE6;"/>
<FontIcon FontFamily="Segoe Fluent Icons" Glyph="&#xEBE6;"/>
</Button>
</StackPanel>