Code example for GoogleMap

Methods: setMapType

0
    } 
  } 
 
  @Override 
  public boolean onNavigationItemSelected(int itemPosition, long itemId) {
    map.setMapType(MAP_TYPES[itemPosition]);
 
    return(true); 
  } 
 
  @Override 
  public void onSaveInstanceState(Bundle state) {
    super.onSaveInstanceState(state);
 
    state.putInt(STATE_NAV,
                 getSupportActionBar().getSelectedNavigationIndex()); 
  } 
 
  @Override 
  public void onRestoreInstanceState(Bundle state) {
Contextual code suggestions in your IDE  Get Codota for Java