summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml
blob: 599ae3fa1c5bef10c6ff3f9d20686cfcd1278c05 (plain)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:mapbox="http://schemas.android.com/tools"
    android:id="@+id/map_container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <LinearLayout
        android:id="@+id/map_container1"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_weight="0.5"
        android:orientation="horizontal">

        <!-- DC -->
        <fragment
            android:id="@+id/map1"
            class="com.mapbox.mapboxsdk.maps.SupportMapFragment"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="0.5"
            mapbox:center_latitude="38.913187"
            mapbox:center_longitude="-77.032546"
            mapbox:style_url="mapbox://styles/mapbox/streets-v10"
            mapbox:zoom="12"/>

        <!-- SF -->
        <fragment
            android:id="@+id/map2"
            class="com.mapbox.mapboxsdk.maps.SupportMapFragment"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="0.5"
            mapbox:center_latitude="37.775732"
            mapbox:center_longitude="-122.413985"
            mapbox:style_url="mapbox://styles/mapbox/outdoors-v10"
            mapbox:zoom="13"/>
    </LinearLayout>

    <LinearLayout
        android:id="@+id/map_container2"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_weight="0.5"
        android:orientation="horizontal">

        <!-- Bangalore -->
        <fragment
            android:id="@+id/map3"
            class="com.mapbox.mapboxsdk.maps.SupportMapFragment"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="0.5"
            mapbox:center_latitude="12.97913"
            mapbox:center_longitude="77.59188"
            mapbox:style_url="mapbox://styles/mapbox/light-v9"
            mapbox:zoom="14"/>

        <!-- Ayacucho -->
        <fragment
            android:id="@+id/map4"
            class="com.mapbox.mapboxsdk.maps.SupportMapFragment"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="0.5"
            mapbox:center_latitude="-13.155980"
            mapbox:center_longitude="-74.217134"
            mapbox:style_url="mapbox://styles/mapbox/dark-v9"
            mapbox:zoom="15"/>
    </LinearLayout>
</LinearLayout>