diff options
author | Tobrun <tobrun@mapbox.com> | 2017-04-13 16:06:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-13 16:06:09 +0200 |
commit | 21f54cc50605fd49e927bae340eac4732570f2e4 (patch) | |
tree | 1135b1a82439bd2f8f665809ca78d32ddd560f43 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout | |
parent | 08101921633ded8978c003179c5f324c91aac266 (diff) | |
download | qtlocation-mapboxgl-21f54cc50605fd49e927bae340eac4732570f2e4.tar.gz |
[android] - add binding integration for Map::setLatLngbounds, add example (#8622)
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_restricted_bounds.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_restricted_bounds.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_restricted_bounds.xml new file mode 100644 index 0000000000..e17807201b --- /dev/null +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_restricted_bounds.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<android.support.design.widget.CoordinatorLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@id/coordinator_layout" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <com.mapbox.mapboxsdk.maps.MapView + android:id="@id/mapView" + android:layout_width="match_parent" + android:layout_height="match_parent" + app:mapbox_cameraTargetLat="64.840048" + app:mapbox_cameraTargetLng="-18.910457" + app:mapbox_cameraZoom="4" + app:mapbox_styleUrl="@string/mapbox_style_satellite_streets"/> + +</android.support.design.widget.CoordinatorLayout> |