title: Google Map Android API v2 getMap() error
body: <p>Hi I'm trying to implement Google Maps display in my app using Google Map Android API v2, and I am trying to follow the solution in <a href="https://stackoverflow.com/questions/13721929/using-actionbarsherlock-with-the-new-supportmapfragment">here</a>.</p>
  
  <p>Codes seem to be okay except when I tried this part:</p>
  
  <pre><code>public class MapFragment extends SherlockMapFragment {
      private GoogleMap mMap;
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle    savedInstanceState) {
      View root = super.onCreateView(inflater, container, savedInstanceState);
      mMap = getMap();
      return root;
      }
  }
  </code></pre>
  
  <p>The getMap() gives an error, as it says method getMap() is undefined for the type MapFragment. What does this mean?</p>