GMSMarkerLayer Class Reference

GMSMarkerLayer Class Reference

Overview

GMSMarkerLayer is a subclass of GMSOverlayLayer, available on a per-marker basis, that allows animation of several properties of its associated GMSMarker.

Note that this CALayer is never actually rendered directly, as GMSMapView is provided entirely via an OpenGL layer. As such, adjustments or animations to 'default' properties of CALayer will not have any effect.

Inherits GMSOverlayLayer.

Properties

CLLocationDegrees latitude
 Latitude, part of position on GMSMarker.
CLLocationDegrees longitude
 Longitude, part of position on GMSMarker.
CLLocationDegrees rotation
 Rotation, as per GMSMarker.
float opacity
 Opacity, as per GMSMarker.

Property Documentation

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

Latitude, part of position on GMSMarker.

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

Longitude, part of position on GMSMarker.

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

Rotation, as per GMSMarker.

- (float) opacity [read, write, assign]

Opacity, as per GMSMarker.

傳送您對下列選項的寶貴意見...

這個網頁
Maps SDK for iOS
需要協助嗎?請前往我們的支援網頁