package com.mapzen.android.sample;

import com.mapzen.android.MapFragment;
import com.mapzen.android.MapManager;
import com.mapzen.tangram.MapController;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;


/**
 * Basic SDK demo, tracks user's current location on map.
 */
public class BasicMapzenActivity extends AppCompatActivity {

    MapFragment mapFragment;
    MapController mapController;
    MapManager mapManager;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_sample_mapzen);

        mapFragment = (MapFragment) getSupportFragmentManager().findFragmentById(R.id.fragment);
        mapController = mapFragment.getMap();
        mapManager = mapFragment.getMapManager();
        configureMap();
    }

    private void configureMap() {
        mapController.setMapZoom(17);
        mapManager.setMyLocationEnabled(true);
    }
}

@@ -146,16 +146,51 @@
 troller;
+%0Aimport com.mapzen.tangram.MapView;
 %0A%0Aimport
@@ -763,114 +763,267 @@
  map
-Controller = mapFragment.getMap();%0A        mapManag
+Fragment.getMapAsync(new MapView.OnMapReadyCallback() %7B%0A            @Override public void onMapReady(MapControll
 er
- =
  map
-Fragment.getMapManager();%0A        configureMap(
+Controller) %7B%0A                BasicMapzenActivity.this.mapController = mapController;%0A                configureMap();%0A            %7D%0A        %7D
 );%0A 
@@ -1077,32 +1077,44 @@
  map
-Controller.setMapZoom(17
+Manager = mapFragment.getMapManager(
 );%0A 

Use getMapAsync, original file was renamed