title: Stop using location with Google Map fragment
body: <p>I use GM fragment in my activity. And I use checkbox to show or hide that map fragment. I want deactivate GoogleMap when it is hidden to disable using GPS. But I cant do that in my activity until it is closed. Any suggestions?</p>
  
  <pre><code>mapGoogle = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map_google)).getMap();
  </code></pre>