-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMapControl.xaml
More file actions
34 lines (32 loc) · 1.17 KB
/
Copy pathMapControl.xaml
File metadata and controls
34 lines (32 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?>
<ContentView
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:maps="clr-namespace:Xamarin.Forms.Maps;assembly=Xamarin.Forms.Maps"
x:Class="Tracked.Controls.MapControl">
<ContentView.Content>
<Grid>
<Picker
IsVisible="{Binding CanChangeMapType}"
x:Name="picker"
VerticalOptions="Start"
HorizontalOptions="Start"
Margin="10"
ItemsSource="{Binding MapTypes}"
SelectedItem="{Binding MapType, Mode=TwoWay}" />
<Grid
x:Name="mapContainer">
</Grid>
<ImageButton
IsVisible="{Binding CanChangeMapType}"
VerticalOptions="Start"
HorizontalOptions="End"
Margin="10"
BackgroundColor="{StaticResource TextColour}"
WidthRequest="40"
HeightRequest="40"
Source="menu_icon.png"
Pressed="ChangeLayer_Pressed" />
</Grid>
</ContentView.Content>
</ContentView>