title: AlertDialog on Google Maps for Multiple markers
body: <p>I'm having some issue with the following:
  I have multiple markers on Google Maps. I've done this using a For loop that goes through an array of my objects and adds a marker for each of them. Markers show title and address. But now I need to make clickable InfoWindow (or just clickable Markers) which will display an AlertDialog containing additional information (description). But I can't get this to work. Alternatively, the data doesn't need to be displayed in an AlertDialog, I could also display it in a TextView.</p>
  
  <p>Here's part of the code for displaying markers (this is a FragmentActivity):</p>
  
  <pre><code>...
  
  Double longitude, latitude;
  static LatLng coordinates;
  GoogleMap supportMap;
  String title, address;
  BitmapDescriptor bdf;
  ArrayList&lt;GasStations&gt; listGas = new ArrayList&lt;GasStations&gt;();
  
  SupportMapFragment fm = (SupportMapFragment) getSupportFragmentManager()
              .findFragmentById(R.id.map);
      supportMap = fm.getMap();
  ...
  
  if (listGas != null) {
          for (int i = 0; i &lt; listGas.size(); i++) {
              longitude = listGas.get(i).getLongitude();
              latitude = listGas.get(i).getLatitude();
              naslov = listGas.get(i).getTitle();
              adresa = listGas.get(i).getAddress() + " "
                      + listGas.get(i).getLocation();
              koordinate = new LatLng(latitude, longitude);
  
              supportMap.addMarker(new MarkerOptions().position(koordinate)
                      .title(title).snippet(address).icon(bdf));
              supportMap.moveCamera(CameraUpdateFactory.newLatLngZoom(
                      coordinates, 10));
          }
      }
  </code></pre>
  
  <p>Markers show just fine and their InfoWindows display correct data. But now I want to display additional information based on which InfoWindow is clicked. If this can't be done via InfoWindow, can it be done by clicking on a particular marker?</p>