title: How to detect a click on a polyline
body: <p>If there is a polyline on googlemap and a click is performed on the map, then how can I check whether that click was on polyline or somewhere else?</p>
  
  <pre><code>Polyline line = googleMap.addPolyline(new PolylineOptions()
         .add(new LatLng(51.2, 0.1), new LatLng(51.7, 0.3))
         .width(5)
         .color(Color.RED));
  
  googleMap.setOnMapLongClickListener(new OnMapLongClickListener() {          
  
      }
  });
  </code></pre>