summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml44
1 files changed, 22 insertions, 22 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml
index 193ae55e59..51442894e1 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:mapbox="http://schemas.android.com/tools"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:mapbox="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- mapbox:ignore="NestedWeights">
+ tools:ignore="NestedWeights">
<LinearLayout
- android:baselineAligned="false"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.5"
+ android:baselineAligned="false"
android:orientation="horizontal">
<!-- DC -->
@@ -21,10 +21,10 @@
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"/>
+ mapbox:mapbox_cameraTargetLat="38.913187"
+ mapbox:mapbox_cameraTargetLng="-77.032546"
+ mapbox:mapbox_cameraZoom="12"
+ mapbox:mapbox_styleUrl="mapbox://styles/mapbox/streets-v10" />
<!-- SF -->
<fragment
@@ -33,17 +33,17 @@
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"/>
+ mapbox:mapbox_cameraTargetLat="37.775732"
+ mapbox:mapbox_cameraTargetLng="-122.413985"
+ mapbox:mapbox_cameraZoom="13"
+ mapbox:mapbox_styleUrl="mapbox://styles/mapbox/outdoors-v10" />
</LinearLayout>
<LinearLayout
- android:baselineAligned="false"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.5"
+ android:baselineAligned="false"
android:orientation="horizontal">
<!-- Bangalore -->
@@ -53,10 +53,10 @@
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"/>
+ mapbox:mapbox_cameraTargetLat="12.97913"
+ mapbox:mapbox_cameraTargetLng="77.59188"
+ mapbox:mapbox_cameraZoom="14"
+ mapbox:mapbox_styleUrl="mapbox://styles/mapbox/light-v9" />
<!-- Ayacucho -->
<fragment
@@ -65,9 +65,9 @@
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"/>
+ mapbox:mapbox_cameraTargetLat="-13.155980"
+ mapbox:mapbox_cameraTargetLng="-74.217134"
+ mapbox:mapbox_cameraZoom="15"
+ mapbox:mapbox_styleUrl="mapbox://styles/mapbox/dark-v9" />
</LinearLayout>
</LinearLayout>