title: iOS - Determine if coordinate is inside GMSPolyline
body: <p>I am already using the method <code>GMSGeometryContainsLocation</code> in order to determine if the coordinate (from a tap user) is within GMSPolygon, but I can't make it work for GMSPolyline.</p>
  
  <pre><code>-(void) didTapOnPolyline:(CLLocationCoordinate2D)coordinate andMap:(GMSMapView *)mapView {
      if (_pathVS != nil) {
          for (id key in _pathVS) {
              if (GMSGeometryIsLocationOnPath(coordinate, [_pathVS objectForKey:key], YES)) {
                  _myMarker = [GMSMarker markerWithPosition:coordinate];
                  _myMarker.opacity = 1.f;
                  // _myMarker.icon = [UIImage imageNamed:@"marker-maps"];
  
                  _myMarker.map = mapView;
                  _myMarker.userData = key;
                  [_mapView setSelectedMarker:_myMarker];
              }
          }
      }
  }
  </code></pre>
  
  <p>I am calling this method from the triggered delegate method :</p>
  
  <pre><code>-(void) mapView:(GMSMapView *)mapView didTapAtCoordinate:(CLLocationCoordinate2D)coordinate
  {
      if (_myMarker)
          _myMarker.map = nil;
  
      [self didTapOnPolygon:coordinate andMap:mapView];
      [self didTapOnPolyline:coordinate andMap:mapView];
  }
  </code></pre>