Code example for SupportMapFragment

Methods: getActivity, onCreateView

0
	private RentsMapView rentsMapView; 
 
	@Override 
	public View onCreateView(LayoutInflater inflater, ViewGroup container, 
			Bundle savedInstanceState) { 
		View originalMapView = super.onCreateView(inflater, container, savedInstanceState); 
		rentsMapView = new RentsMapView(getActivity()); 
		rentsMapView.addView(originalMapView); 
		 
		return rentsMapView; 
	} 
 
	@Override 
	public View getView() { 
		return rentsMapView; 
	} 
}