Skip to content

Instantly share code, notes, and snippets.

@DejanEnspyra
Created October 3, 2017 18:18
Show Gist options
  • Select an option

  • Save DejanEnspyra/6dd31c29a5f72e3e98e7355cd910e95e to your computer and use it in GitHub Desktop.

Select an option

Save DejanEnspyra/6dd31c29a5f72e3e98e7355cd910e95e to your computer and use it in GitHub Desktop.
Tap Coordinate Google Maps iOS SDK
extension ViewController: GMSMapViewDelegate{
func mapView(_ mapView: GMSMapView, didTapAt coordinate: CLLocationCoordinate2D){
marker.position = coordinate
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment