#1856 - Setting default style to Mapbox Streets
This commit is contained in:
@@ -92,7 +92,6 @@ public class MainActivity extends AppCompatActivity {
|
||||
|
||||
mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
|
||||
|
||||
|
||||
mapView = (MapView) findViewById(R.id.mainMapView);
|
||||
// Load the access token
|
||||
try {
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
android:id="@+id/mainMapView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
mapbox:styleUrl="asset://styles/mapbox-streets-v7.json"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
|
||||
Reference in New Issue
Block a user