LiveMapPage.xaml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4. xmlns:local="clr-namespace:comal.timesheets"
  5. xmlns:mobile="clr-namespace:InABox.Mobile"
  6. xmlns:maps="clr-namespace:Syncfusion.SfMaps.XForms;assembly=Syncfusion.SfMaps.XForms"
  7. xmlns:material="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
  8. material:MaterialNavigationPage.AppBarTitleTextFontSize="16.0"
  9. x:Class="comal.timesheets.LiveMaps.LiveMapPage">
  10. <ContentPage.ToolbarItems>
  11. <ToolbarItem x:Name="openInMapsBtn" Text="Open in Maps" Clicked="OpenInMapsBtn_Clicked"/>
  12. </ContentPage.ToolbarItems>
  13. <ContentPage.Content>
  14. <Grid x:Name="grid" Padding="5">
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="Auto"/>
  17. <RowDefinition Height="*"/>
  18. <RowDefinition Height="Auto"/>
  19. </Grid.RowDefinitions>
  20. <Button x:Name="selectBtn" Text="Select" Grid.Row="0" Margin="5" IsEnabled="False" Clicked="SelectBtn_Clicked" FontSize="Medium" TextColor="White" BackgroundColor="#15C7C1" FontAttributes="Bold" CornerRadius="5"/>
  21. <maps:SfMaps Grid.Row="1" x:Name="sfMap" BackgroundColor="White">
  22. <maps:SfMaps.Layers>
  23. <maps:ImageryLayer x:Name="sfMapLayer">
  24. <maps:ImageryLayer.Markers>
  25. </maps:ImageryLayer.Markers>
  26. </maps:ImageryLayer>
  27. </maps:SfMaps.Layers>
  28. </maps:SfMaps>
  29. <Frame Grid.Row="2" HasShadow="False" Padding="5" BorderColor="Gray" Margin="5" CornerRadius="15">
  30. <Label x:Name="lastUpdatedLbl" Text="Last Updated: NA" HorizontalOptions="Center" FontSize="Large" FontAttributes="Bold"/>
  31. </Frame>
  32. </Grid>
  33. </ContentPage.Content>
  34. </ContentPage>