Code example for MapFragment

0
package com.precisionag.lib; 
 
import com.google.android.gms.maps.MapFragment; 
 
import android.os.Bundle; 
import android.view.LayoutInflater; 
import android.view.View; 
import android.view.ViewGroup; 
 
public class MyMapFragment extends MapFragment{
	public View mOriginalContentView;
	public TouchableWrapper mTouchView;
	 
	 
	 
	 
	@Override 
	public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {
	mOriginalContentView = super.onCreateView(inflater, parent, savedInstanceState);
	 
	mTouchView = new TouchableWrapper(getActivity());
	mTouchView.addView(mOriginalContentView);
	 
	return mTouchView;
	}