title: Setting GoogleMapOptions programmatically
body: <p>I am inflating my fragment like this:</p>
  
  <pre><code>GoogleMap map = ((MapFragment) getFragmentManager().findFragmentById(R.id.MapFragment_map_Fragment)).getMap(); 
  </code></pre>
  
  <p>and here I have my options:</p>
  
  <pre><code>GoogleMapOptions options = new GoogleMapOptions();
  options.mapType(GoogleMap.MAP_TYPE_SATELLITE);
  </code></pre>
  
  <p>In the <a href="https://developers.google.com/maps/documentation/android/map#programmatically" rel="noreferrer">documentation</a> I see that I need to use this:</p>
  
  <blockquote>
    <p>To apply these options when you are creating a map, do one of the
    following:</p>
    
    <p>If you are using a MapFragment, use the
    MapFragment.newInstance(GoogleMapOptions options) static factory
    method to construct the fragment and pass in your custom configured
    options.</p>
  </blockquote>
  
  <p>But I don't understand how am I suppose to use this.</p>