错误:谷歌地图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