mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 05:43:55 +01:00
Added support for MapView in Nearby
This commit is contained in:
parent
784b51e29d
commit
6118b57295
6 changed files with 120 additions and 5 deletions
16
app/src/main/res/layout/fragment_nearby_map.xml
Normal file
16
app/src/main/res/layout/fragment_nearby_map.xml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?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:orientation="vertical"
|
||||
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"
|
||||
mapbox:mapbox_cameraZoom="11"
|
||||
mapbox:mapbox_cameraTargetLat="50.0755"
|
||||
mapbox:mapbox_cameraTargetLng="14.4378"
|
||||
mapbox:mapbox_styleUrl="@string/style_mapbox_streets" />
|
||||
</LinearLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue