/
TilesPage.xaml
58 lines (51 loc) · 2.12 KB
/
TilesPage.xaml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:maps="clr-namespace:Xamarin.Forms.GoogleMaps;assembly=Xamarin.Forms.GoogleMaps"
x:Class="XFGoogleMapSample.TilesPage"
Title="Tiles">
<ContentPage.Content>
<StackLayout
VerticalOptions="Fill"
Orientation="Vertical">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Button x:Name="buttonORMTile"
Text="OpenRailwayMap (512px)"
Grid.Row="1"
Grid.Column="1"/>
<Button x:Name="buttonOSMITile"
Text="OpenStreetMap"
Grid.Row="1"
Grid.Column="2"/>
<Button x:Name="buttonSyncImage"
Text="Image (Sync)"
Grid.Row="2"
Grid.Column="1"/>
<Button x:Name="buttonAsyncImage"
Text="Image (Async)"
Grid.Row="2"
Grid.Column="2"/>
<Button x:Name="buttonRemove"
Text="Remove Tile"
Grid.Row="3"
Grid.Column="1"/>
<Button x:Name="buttonZIndex"
Text="Tile ZIndex(-1 to 1)"
Grid.Row="3"
Grid.Column="2"/>
</Grid>
<maps:Map x:Name="map"
VerticalOptions="FillAndExpand"/>
</StackLayout>
</ContentPage.Content>
</ContentPage>