マーカーがタップされている何らかの理由で、Googleマップでスニペットウィンドウが表示されません。私は間違って何をしているのか分かりません。地図上にマーカーが表示されますが、タップしても何も表示されません。前もって感謝します。速いGoogleマップでスニペットウィンドウが表示されない
func viewController(_ viewController: GMSAutocompleteViewController, didAutocompleteWith place: GMSPlace) {
let position = place.coordinate
self.dismiss(animated: true) {
let marker = GMSMarker(position: position)
marker.title = "title here"
marker.snippet = "my snippet here"
marker.map = self.mapView
}
}