2016-07-12 9 views

答えて

4

アクティブ情報ウィンドウがGMSMapViewのselectedMarkerに格納されます。 これをnilに設定すると、情報ウィンドウが消えます。

func mapView(mapView: GMSMapView, willMove gesture: Bool) 
{ 
    if mapView.selectedMarker != nil 
    { 
    mapView.selectedMarker = nil 
    } 
} 
関連する問題