New pricing and product changes will go into effect starting June 11, 2018. For more information, check out the Guide for Existing Users.

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.

Send feedback about...

Maps SDK for iOS
Maps SDK for iOS
Need help? Visit our support page.