Code example for MapFragment

Methods: getActivity

0
				LatLng position = new LatLng(location.getLatitude(), location.getLongitude());
				animateToBuildingZoomLevel(position);
			} 
		}); 
 
		_markerManager.setMarkerRelatedListeners(_mapFragment.getActivity(), this);
	} 
 
	/** 
	 * Animated camera if current zoom level < <code>BUILDING_ZOOM_LEVEL</code> 
	 * 
	 * @return true if camera is animated; false otherwise. 
	 * @see #BUILDING_ZOOM_LEVEL 
	 */ 
	public boolean animateToBuildingZoomLevelIfNeeded(LatLng latLng) {
		if (_googleMap.getCameraPosition().zoom < GoogleMapManager.BUILDING_ZOOM_LEVEL) {
			animateToBuildingZoomLevel(latLng);
			return true; 
		} 
		else {