LiveMapsTwo.xaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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" xmlns:maps="clr-namespace:Syncfusion.SfMaps.XForms;assembly=Syncfusion.SfMaps.XForms"
  4. x:Class="comal.timesheets.LiveMapsTwo">
  5. <ContentPage.ToolbarItems>
  6. <ToolbarItem Text="Reset" Clicked="Reset_Clicked"/>
  7. </ContentPage.ToolbarItems>
  8. <ContentPage.Content>
  9. <Grid x:Name="grid" Padding="0">
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="auto"/>
  12. <RowDefinition Height="*"/>
  13. </Grid.RowDefinitions>
  14. <maps:SfMaps Grid.Row="0" Grid.RowSpan="2" x:Name="sfMap" BackgroundColor="White" VerticalOptions="StartAndExpand">
  15. <maps:SfMaps.Layers>
  16. <maps:ImageryLayer x:Name="sfMapLayer">
  17. <maps:ImageryLayer.Markers>
  18. </maps:ImageryLayer.Markers>
  19. </maps:ImageryLayer>
  20. </maps:SfMaps.Layers>
  21. </maps:SfMaps>
  22. <Button Grid.Row="1" HorizontalOptions="End" VerticalOptions="Start" Margin="0 , 0, 10, 0" Clicked="JobsBtn_Clicked" IsEnabled="False"
  23. ImageSource="gear.png" HeightRequest="60" WidthRequest="60" CornerRadius="30" BackgroundColor="White" Padding="1"
  24. x:Name="jobsBtn"/>
  25. <ScrollView Grid.Row="0" x:Name="scrollView" HeightRequest="45"
  26. BackgroundColor="Transparent" VerticalOptions="Start" Margin="10" Orientation="Horizontal">
  27. <FlexLayout
  28. x:Name="flexLayout" BackgroundColor="Transparent"
  29. JustifyContent="SpaceEvenly"
  30. AlignItems="Start"
  31. AlignContent="Start"/>
  32. </ScrollView>
  33. <Image Grid.Row="0" IsVisible="false" HorizontalOptions="Start" Margin="5, 20, 5, 5"
  34. x:Name="Swipe" Source="swipe.png"/>
  35. <!--Wrap="Wrap" Direction="Row"-->
  36. </Grid>
  37. </ContentPage.Content>
  38. </ContentPage>