2016-07-07 61 views
0

此問題沒有出現在以前的iOS版本中。但在iOS 10 beta中,用戶位置圖標顯示錯誤。藍點顯示其框架在不同的背景而不是clearColor。iOS 10 GMSMapView顯示我的位置圖標,帶白色背景

enter image description here

enter image description here

這是與iOS10的問題嗎?任何解決方法來設置藍色圖標的背景顏色?

我知道我們可以把自定義圖標設置藍色圓點,NO和:

GMSMarker *pointMarker = [GMSMarker markerWithPosition:currentPosition]; 
pointMarker.icon = [UIImage imageNamed:@"YourImage"]; 
pointMarker.map = _map; 

有沒有其他的方法來設置用戶位置的背景,鮮明的色彩?

回答

0

這有時發生在模擬器中,我在老版本的iOS版本上看到過。

如果這發生在設備上,那麼這是一個錯誤。