[android] #4850 - add non-gl content to snapshot bitmap
This commit is contained in:
@@ -37,7 +37,6 @@ public class SnapshotActivity extends AppCompatActivity {
|
||||
}
|
||||
|
||||
mapView = (MapView) findViewById(R.id.mapView);
|
||||
mapView.setAccessToken(getString(R.string.mapbox_access_token));
|
||||
mapView.onCreate(savedInstanceState);
|
||||
mapView.getMapAsync(new OnMapReadyCallback() {
|
||||
@Override
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
app:access_token="@string/mapbox_access_token"
|
||||
app:style_url="@string/style_emerald" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user