MapPage.xaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <Page
  2. x:Class="Breda_Tour.MapScreen.MapPage"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:local="using:Breda_Tour.MapScreen"
  6. xmlns:c="using:Breda_Tour.CustomControls"
  7. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. xmlns:Maps ="using:Windows.UI.Xaml.Controls.Maps"
  10. xmlns:customControls="using:Breda_Tour.CustomControls"
  11. mc:Ignorable="d">
  12. <Grid>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="Auto" />
  15. <RowDefinition Height="Auto" />
  16. <RowDefinition Height="Auto"/>
  17. <RowDefinition Height="*" />
  18. </Grid.RowDefinitions>
  19. <c:DefaultTopBar x:Uid="MapPagetxtKaart" Header="Kaart" Grid.Row="0"/>
  20. <c:DefaultPivotControl x:Name="DefaultPivot" Grid.Row="1"/>
  21. <StackPanel x:Name="ButtonPanel" Background="White" Grid.Row="2" Visibility="Collapsed" >
  22. <StackPanel>
  23. <TextBlock FontSize="14" Margin="120,3,0,0">End current route?</TextBlock>
  24. </StackPanel>
  25. <StackPanel Orientation="Horizontal">
  26. <Button x:Name="YesButton" Click="YesButton_OnClick" Margin="40,10,0,10" Padding="30,10,30,10">
  27. <TextBlock>Yes</TextBlock>
  28. </Button>
  29. <Button x:Name="NoButton" Click="NoButton_OnClick" Margin="100,10,0,10" Padding="30,10,30,10">
  30. <TextBlock>No</TextBlock>
  31. </Button>
  32. </StackPanel>
  33. </StackPanel>
  34. <Maps:MapControl x:Name="Map" Grid.Row="3" MapElementClick="Map_OnMapElementClick"
  35. ZoomInteractionMode="GestureAndControl"
  36. TiltInteractionMode="GestureAndControl"
  37. RotateInteractionMode="GestureAndControl"
  38. MapServiceToken="P4P2fAwXuk7ndsVIsaaV~uYjur55RgwmLsiwFwd72bQ~ApDRixf1L-0o_kMY8EtBBDm8xe7G2oz1k2-u0HQIATvSp-iiKr5KLNkYc1HF5D5e"/>
  39. </Grid>
  40. </Page>