[android] - add binding integration for Map::setLatLngbounds, add example (#8622)
This commit is contained in:
@@ -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>
|
||||
@@ -55,6 +55,7 @@
|
||||
<string name="activity_map_in_dialog">Dialog with map</string>
|
||||
<string name="activity_marker_view_rectangle">Marker views in rectangle</string>
|
||||
<string name="activity_url_transform">Url transform</string>
|
||||
<string name="activity_restricted_bounds">Restrict camera to a bounds</string>
|
||||
|
||||
<!--Description-->
|
||||
<string name="description_user_location_tracking">Tracks the location of the user</string>
|
||||
@@ -109,6 +110,7 @@
|
||||
<string name="description_marker_view_rectangle">Marker Views within a rectangle</string>
|
||||
<string name="description_circle_layer">Show bus stops and route in Singapore</string>
|
||||
<string name="description_url_transform">Transform urls on the fly</string>
|
||||
<string name="description_restricted_bounds">Limit viewport to Iceland</string>
|
||||
|
||||
<!--Categories-->
|
||||
<string name="category">category</string>
|
||||
|
||||
Reference in New Issue
Block a user