Code example for SupportMapFragment

Methods: getMap

    private void setUpMapIfNeeded() { 
        // Do a null check to confirm that we have not already instantiated the map. 
        if (mMap == null) { 
            // Try to obtain the map from the SupportMapFragment. 
            mMap = mMapFragment.getMap(); 
            // Check if we were successful in obtaining the map. 
            if (mMap != null) { 
    private void setUpMap() { 
    	 mMap.addMarker(new MarkerOptions().position(new LatLng(0, 0)).title(title)); 
 		//mMap.animateCamera(CameraUpdateFactory.newLatLngZoom(new LatLng( 
 				//0, 0), 12.0f)); 
Stop searching for code, let great code find you!  Add Codota to your java IDE