Code example for MapFragment

0
 
	public void setCaption(String caption) { 
		this.caption = caption; 
	} 
 
	public MyMapFragment(){} 
	 
	 
	/*@Override 
    public View onCreateView(LayoutInflater inflater, ViewGroup container, 
            Bundle savedInstanceState) { 
        View view = inflater.inflate(R.layout.activity_maps, container); 
        MapView mapView = (MapView)view.findViewById(R.id.map); 
        return view; 
        } 
	public void plot(){ 
		  Log.w("TEST MAP:","4#############"); 
		 // android.app.FragmentManager fm = getFragmentManager(); 
		  Log.w("TEST MAP:","4111111#############:::"+fm); 
		  MapFragment mF = ((MapFragment)fm.findFragmentById(R.id.map));