Code example for GoogleMapOptions

0
package com.siste; 
 
import android.os.Bundle; 
import android.support.v4.app.FragmentActivity; 
 
import com.google.android.gms.maps.GoogleMap; 
import com.google.android.gms.maps.GoogleMapOptions; 
 
public class Principal extends FragmentActivity { 
	 
	GoogleMapOptions options = new GoogleMapOptions();
 
 
	@Override 
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_principal); 
		 
		options.mapType(GoogleMap.MAP_TYPE_SATELLITE)
	    .compassEnabled(true)
	    .rotateGesturesEnabled(true)
	    .tiltGesturesEnabled(true);
		 
		 
	} 
}