Code example for GoogleMapOptions

0
import com.google.android.gms.maps.model.MarkerOptions; 
 
public class mapdemo extends FragmentActivity { 
	private GoogleMap mMap;
	private iuGeoCoder gc = new iuGeoCoder();
	private GoogleMapOptions options = new GoogleMapOptions();
    @Override 
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.mapdemo);         
//      setUpMapIfNeeded(); 
        mMap = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap();
        options.mapType(GoogleMap.MAP_TYPE_SATELLITE)
        	.rotateGesturesEnabled(true)
        	.tiltGesturesEnabled(false);
        mMap.addMarker(new MarkerOptions()
        	.position(new LatLng(-33.796923, 150.922433))
        	.title("我是赵翔辰")
        	.snippet("Population: 4,137,400")
//        	.icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_GREEN)));