Code example for SupportMapFragment

Methods: getMap, onCreateView

0
	} 
	 
	@Override 
	public View onCreateView(LayoutInflater inflater, ViewGroup parent,
			Bundle savedInstanceState) {
		View v = super.onCreateView(inflater, parent, savedInstanceState);
		 
		// Stash a reference to the GoogleMap 
		mGoogleMap = getMap();
		mGoogleMap.setMyLocationEnabled(true);
		return v;
	} 
	 
	@Override 
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		// Check for a Run ID as an argument, and find the run 
		Bundle args = getArguments();
		if (args != null) {
			long runId = args.getLong(ARG_RUN_ID, -1);
			if (runId != -1) {