GMSMarkerLayer 類別參考資料

GMSMarkerLayer 類別參考

總覽

GMSMarkerLayerGMSOverlayLayer 的子類別,在每個標記的基礎上提供,允許其相關 GMSMarker 的多個屬性動畫。

請注意,這個 CALayer 絕對不會直接算繪,因為GMSMapView完全透過 OpenGL 圖層提供。因此,針對 CALayer 的「default」屬性調整或動畫不會產生任何效果。

繼承GMSOverlayLayer

資源

CLLocationDegreeslatitude
 緯度,在 GMSMarkerposition的一部分。
CLLocationDegreeslongitude
 經度,GMSMarkerposition的一部分。
CLLocationDegrees旋轉
 旋轉,根據GMSMarker
float 不透明度
 透明度,根據GMSMarker

屬性說明文件

- (CLLocationDegrees) latitude [read, write, assign]

緯度,在 GMSMarkerposition的一部分。

- (CLLocationDegrees) longitude [read, write, assign]

經度,GMSMarkerposition的一部分。

- (CLLocationDegrees) 旋轉 [read, write, assign]

旋轉,根據GMSMarker

- (浮點) 不透明度 [read, write, assign]

透明度,根據GMSMarker