Code example for FragmentActivity

Methods: getResources

0
		mMap = f.getExtendedMap(); 
	} 
 
	private void initializeClustering() { 
		ClusteringSettings settings = new ClusteringSettings(); 
		settings.clusterOptionsProvider(new DemoClusterOptionsProvider(getResources())); 
		settings.addMarkersDynamically(true); 
		mMap.setClustering(settings); 
	} 
 
	private void initializeCameraPosition() { 
		mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(OTHER_POSITION, OTHER_ZOOM)); 
	} 
}