Code example for MapFragment

Methods: getMap

0
	public void moveTo(SupportMarker marker){
		mGoogleMap.moveCamera(CameraUpdateFactory.newLatLng(marker.getMarker().getPosition()));
	} 
	 
	public static SupportGoogleMap newInstance(Context context, MapFragment mapFragment){
		SupportGoogleMap map = new SupportGoogleMap(context, mapFragment.getMap());
		return map;
	} 
	 
	public static SupportGoogleMap newInstance(Context context, SupportMapFragment mapFragment){
		SupportGoogleMap map = new SupportGoogleMap(context, mapFragment.getMap());
		return map;
	} 
	 
	public static SupportGoogleMap newInstance(Context context, GoogleMap map){
		SupportGoogleMap mapInstance = new SupportGoogleMap(context, map);
		return mapInstance;
	} 
	 
	/** 
	 * Set whether SupportGoogleMap should remember and load last CameraPosition