package aystudio.nopi.arcgisstudy;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import com.esri.android.map.MapOptions;
import com.esri.android.map.MapView;
public class MainActivity extends AppCompatActivity {
private MapView mMapView;
// The basemap switching menu items.
// 谷歌翻译
// 底图切换菜单项
MenuItem mStreetsMenuItem = null;
MenuItem mTopoMenuItem = null;
MenuItem mGrayMenuItem = null;
MenuItem mOceansMenuItem = null;
// Create MapOptions for each type of basemap.
// 谷歌翻译
// 为每种底图类型创建MapOptions
final MapOptions mTopoBasemap = new MapOptions(MapOptions.MapType.TOPO);
final MapOptions mStreetsBasemap = new MapOptions(MapOptions.MapType.STREETS);
final M