[android] - remove style config from mapboxMapOptions and attributes
This commit is contained in:
@@ -12,8 +12,7 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="52.519003"
|
||||
app:mapbox_cameraTargetLng="13.400972"
|
||||
app:mapbox_cameraZoom="16"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="16"/>
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
android:id="@id/fab"
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="41.9567"
|
||||
app:mapbox_cameraTargetLng="-78.6430"
|
||||
app:mapbox_cameraZoom="5"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="5"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
app:mapbox_cameraTargetLat="38.90962"
|
||||
app:mapbox_cameraTargetLng="-77.04341"
|
||||
app:mapbox_cameraZoom="15"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_light"/>
|
||||
app:mapbox_cameraZoom="15"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -9,8 +9,7 @@
|
||||
app:mapbox_cameraTargetLat="40.7135"
|
||||
app:mapbox_cameraTargetLng="-74.0066"
|
||||
app:mapbox_cameraTilt="45"
|
||||
app:mapbox_cameraZoom="15"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_dark"/>
|
||||
app:mapbox_cameraZoom="15"/>
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
android:id="@+id/fabLightPosition"
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="37.787947"
|
||||
app:mapbox_cameraTargetLng="-122.407432"
|
||||
app:mapbox_cameraZoom="11"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="11"/>
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
android:id="@+id/fab"
|
||||
|
||||
@@ -18,8 +18,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="?android:attr/actionBarSize"
|
||||
app:mapbox_uiAttributionTintColor="@color/redAccent"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_uiAttributionTintColor="@color/redAccent"/>
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
android:id="@+id/fab"
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="1.350057"
|
||||
app:mapbox_cameraTargetLng="103.849218"
|
||||
app:mapbox_cameraZoom="10"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="10"/>
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
android:id="@+id/fab_route"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/toolbar"
|
||||
app:mapbox_styleUrl="asset://streets.json"
|
||||
app:mapbox_cameraZoom="1"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
app:mapbox_cameraTargetLat="40.7135"
|
||||
app:mapbox_cameraTargetLng="-74.0066"
|
||||
app:mapbox_cameraTilt="45"
|
||||
app:mapbox_cameraZoom="15"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="15"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="41.9567"
|
||||
app:mapbox_cameraTargetLng="-78.6430"
|
||||
app:mapbox_cameraZoom="5"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="5"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="52.090710"
|
||||
app:mapbox_cameraTargetLng="5.121125"
|
||||
app:mapbox_cameraZoom="10"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="10"/>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -12,7 +12,6 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="38.897705003219784"
|
||||
app:mapbox_cameraTargetLng="-77.03655168667463"
|
||||
app:mapbox_cameraZoom="15"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="15"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="47.798202"
|
||||
app:mapbox_cameraTargetLng="7.573781"
|
||||
app:mapbox_cameraZoom="4"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="4"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
android:id="@id/mapView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"
|
||||
app:mapbox_localIdeographFontFamily="Droid Sans" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"
|
||||
app:mapbox_uiAttribution="false" />
|
||||
|
||||
<LinearLayout
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
<com.mapbox.mapboxsdk.maps.MapView
|
||||
android:id="@id/mapView"
|
||||
android:layout_width="match_parent"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<View
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/viewParent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -12,7 +12,6 @@
|
||||
android:id="@id/mapView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
android:layout_below="@id/toolbar"
|
||||
app:mapbox_cameraTargetLat="38.87031"
|
||||
app:mapbox_cameraTargetLng="-77.00897"
|
||||
app:mapbox_cameraZoom="10"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="10"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
app:mapbox_cameraTargetLat="-1.063510"
|
||||
app:mapbox_cameraTargetLng=" 32.895425"
|
||||
app:mapbox_cameraZoom="4"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_satellite_streets"/>
|
||||
app:mapbox_cameraZoom="4"/>
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
@@ -23,8 +23,7 @@
|
||||
android:layout_weight="0.5"
|
||||
mapbox:mapbox_cameraTargetLat="38.913187"
|
||||
mapbox:mapbox_cameraTargetLng="-77.032546"
|
||||
mapbox:mapbox_cameraZoom="12"
|
||||
mapbox:mapbox_styleUrl="mapbox://styles/mapbox/streets-v10" />
|
||||
mapbox:mapbox_cameraZoom="12" />
|
||||
|
||||
<!-- SF -->
|
||||
<fragment
|
||||
@@ -35,8 +34,7 @@
|
||||
android:layout_weight="0.5"
|
||||
mapbox:mapbox_cameraTargetLat="37.775732"
|
||||
mapbox:mapbox_cameraTargetLng="-122.413985"
|
||||
mapbox:mapbox_cameraZoom="13"
|
||||
mapbox:mapbox_styleUrl="mapbox://styles/mapbox/outdoors-v10" />
|
||||
mapbox:mapbox_cameraZoom="13"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -55,8 +53,7 @@
|
||||
android:layout_weight="0.5"
|
||||
mapbox:mapbox_cameraTargetLat="12.97913"
|
||||
mapbox:mapbox_cameraTargetLng="77.59188"
|
||||
mapbox:mapbox_cameraZoom="14"
|
||||
mapbox:mapbox_styleUrl="mapbox://styles/mapbox/light-v9" />
|
||||
mapbox:mapbox_cameraZoom="14" />
|
||||
|
||||
<!-- Ayacucho -->
|
||||
<fragment
|
||||
@@ -67,7 +64,6 @@
|
||||
android:layout_weight="0.5"
|
||||
mapbox:mapbox_cameraTargetLat="-13.155980"
|
||||
mapbox:mapbox_cameraTargetLng="-74.217134"
|
||||
mapbox:mapbox_cameraZoom="15"
|
||||
mapbox:mapbox_styleUrl="mapbox://styles/mapbox/dark-v9" />
|
||||
mapbox:mapbox_cameraZoom="15" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
app:mapbox_uiAttributionTintColor="@android:color/holo_green_dark"
|
||||
app:mapbox_cameraTargetLat="47.798202"
|
||||
app:mapbox_cameraTargetLng="7.573781"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"
|
||||
app:mapbox_cameraZoom="4" />
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
app:mapbox_cameraTargetLat="45.1855569"
|
||||
app:mapbox_cameraTargetLng="5.7215506"
|
||||
app:mapbox_cameraZoom="11"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"
|
||||
app:mapbox_uiAttributionGravity="top|end"
|
||||
app:mapbox_uiLogoGravity="top|end"
|
||||
app:mapbox_uiLogoMarginRight="28dp"/>
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="@dimen/fab_margin"
|
||||
android:src="@drawable/ic_print"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"
|
||||
app:backgroundTint="@color/accent"/>
|
||||
|
||||
</android.support.design.widget.CoordinatorLayout>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="52.0907"
|
||||
app:mapbox_cameraTargetLng="5.1214"
|
||||
app:mapbox_cameraZoom="16"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="16"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
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"/>
|
||||
app:mapbox_cameraZoom="4"/>
|
||||
|
||||
</android.support.design.widget.CoordinatorLayout>
|
||||
|
||||
@@ -86,7 +86,6 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="37.176546"
|
||||
app:mapbox_cameraTargetLng="-3.599007"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_dark"
|
||||
app:mapbox_cameraZoom="15" />
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="52.519003"
|
||||
app:mapbox_cameraTargetLng="13.400972"
|
||||
app:mapbox_cameraZoom="16"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="16"/>
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
android:id="@+id/fab_style_json"
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.mapbox.mapboxsdk.maps.MapView
|
||||
android:id="@id/mapView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_outdoors"/>
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_cameraTargetLat="40.730648"
|
||||
app:mapbox_cameraTargetLng="-73.993619"
|
||||
app:mapbox_cameraZoom="11"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_light"/>
|
||||
app:mapbox_cameraZoom="11"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
android:layout_height="match_parent"
|
||||
mapbox:mapbox_cameraTargetLat="47.6077"
|
||||
mapbox:mapbox_cameraTargetLng="-122.3421"
|
||||
mapbox:mapbox_cameraZoom="11"
|
||||
mapbox:mapbox_styleUrl="mapbox://styles/mapbox/streets-v10" />
|
||||
mapbox:mapbox_cameraZoom="11"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -8,5 +8,4 @@
|
||||
app:mapbox_cameraTargetLat="45.38301927899065"
|
||||
app:mapbox_cameraTargetLng="8.63525390625"
|
||||
app:mapbox_renderTextureMode="true"
|
||||
app:mapbox_cameraZoom="7"
|
||||
app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>
|
||||
app:mapbox_cameraZoom="7"/>
|
||||
|
||||
Reference in New Issue
Block a user