Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <com.mapbox.mapboxsdk.maps.MapView
- android:id="@+id/mapView"
- android:layout_centerInParent="true"
- mapbox:mapbox_renderTextureMode="true"
- android:background="#929292"
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
- private void bindMap() {
- if (mMapboxMap == null) {
- mBinding.mapView.getMapAsync(mapboxMap -> {
- mMapboxMap = mapboxMap;
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement