Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. <com.mapbox.mapboxsdk.maps.MapView
  2. android:id="@+id/mapView"
  3. android:layout_centerInParent="true"
  4. mapbox:mapbox_renderTextureMode="true"
  5. android:background="#929292"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"/>
  8.  
  9.  
  10.  
  11. private void bindMap() {
  12. if (mMapboxMap == null) {
  13. mBinding.mapView.getMapAsync(mapboxMap -> {
  14. mMapboxMap = mapboxMap;
  15. });
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement