錯誤:谷歌地圖GMSMaker ICONVIEW - iOS版SDK
value of type GMSmarker has no member iconView
如何使用ICONVIEW?
let marker = GMSMarker()
marker.position = CLLocationCoordinate2D(latitude: 13.7990609, longitude: 100.5494513)
marker.title = "Coffee Factory"
marker.snippet = "Chatuchak"
marker.iconView = imageView
marker.map = mapView
Value of type GMSmarker has no member iconView
我需要設置圖標的UIImageView沒有的UIImage – teezanateep
@teezanateep你可以做兩種方式,檢查我的編輯答案。另外,請確保您使用的是最新的Google Maps SDK v2.3.0及更高版本。 –
謝謝我的SDK版本是1.11.0 – teezanateep