title: Remove GMSMarker when tapped
body: <p>How do you enable a GMSMarker to be removed when tapped? I would like when a marker is tapped an alert controller to show up and ask for whether the user wants to save or remove the tapped marker. So how would I get the tapped marker to be removed when the 'remove' button is pressed? and also how do I get it to save for when the user accesses the map later if the 'save' is pressed. I have this basic structure so far but not sure how to implement the functionality: </p>
  
  <pre><code>  func mapView(_ mapView: GMSMapView, didTap marker: GMSMarker) -&gt; Bool {
  
      print("didtapmarker")
      let alert = UIAlertController(title: "Add this place to wishlist?",
                                    message: "Would you like to add this to your list?",
                                    preferredStyle: .alert)
  
      let saveAction = UIAlertAction(title: "Save",
                                     style: .default)
      let cancelAction = UIAlertAction(title: "Remove",
                                       style: .default)
  
  
      //alert.addAction(defaultAction)
      alert.addAction(saveAction)
      alert.addAction(cancelAction)
  
  
      self.present(alert, animated: true, completion: nil)
       return false
  }
  </code></pre>
  
  <p>So where would I go from here? Any suggestions would be appreciated. </p>