title: Google maps api v2, on marker click to open a fragment on the map
body: <p><strong>What I want to realise:</strong></p>
  
  <p>I want my markers, that are clickable, to open a fragment on top of the map when I'm in their proximity.
  This fragment will list some text and pictures.
  I want this fragment to overlay only a part of the googlemap and to be closeable.</p>
  
  <p>I already have some basic info in the 'snippet'-thingy that opens one click.
  I also have a function that calculates the distance from the middle of the screen to a location and puts it in the snippet.</p>
  
  <p>some code I have:</p>
  
  <pre><code>    simLocatie.setLatitude((googlemap.getCameraPosition().target).latitude);
      simLocatie.setLongitude((googlemap.getCameraPosition().target).longitude);
  
      googlemap.addMarker(new MarkerOptions()
                    .title(een.getName())                                                    
                    .position(new LatLng(een.getLatitude(),een.getLongitude()))                                                       
                    .snippet("distance:"+simLocatie.distance(een))                                           
                 .icon(BitmapDescriptorFactory.fromResource(R.drawable.marker_monument)));
  </code></pre>
  
  <p>Thanks in advance!
  if I didn't explain myself good enough please ask for more</p>