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;
	} 
	 
	/** 
Contextual code suggestions in your IDE  Get Codota for Java