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();
		// Show the user's location 
		mGoogleMap.setMyLocationEnabled(true);
		return v;
	} 
	 
	@Override 
	public Loader<Cursor> onCreateLoader(int id, Bundle args) {
		long runId = args.getLong(ARG_RUN_ID, -1);
		return new LocationListCursorLoader(getActivity(), runId);
	} 
	 
	@Override 
	public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {