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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSMarkerLayer\u003c/code\u003e is a subclass of \u003ccode\u003eGMSOverlayLayer\u003c/code\u003e used for animating properties of a \u003ccode\u003eGMSMarker\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt allows animation of latitude, longitude, rotation, and opacity of the associated marker.\u003c/p\u003e\n"],["\u003cp\u003eThis layer is not directly rendered and relies on the OpenGL layer of \u003ccode\u003eGMSMapView\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAdjustments or animations to default properties of \u003ccode\u003eCALayer\u003c/code\u003e will not affect \u003ccode\u003eGMSMarkerLayer\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["GMSMarkerLayer \n\n @interface GMSMarkerLayer : ../Classes/GMSOverlayLayer.html\n\n`GMSMarkerLayer` is a subclass of [GMSOverlayLayer](../Classes/GMSOverlayLayer.html), available on a per-marker basis, that allows\nanimation of several properties of its associated [GMSMarker](../Classes/GMSMarker.html).\n\nNote that this `CALayer` is never actually rendered directly, as [GMSMapView](../Classes/GMSMapView.html) is provided\nentirely via an OpenGL layer. As such, adjustments or animations to 'default' properties of\n`CALayer` will not have any effect.\n- `\n ``\n ``\n `\n\n [latitude](#/c:objc(cs)GMSMarkerLayer(py)latitude)`\n ` \n Latitude, part of `position` on [GMSMarker](../Classes/GMSMarker.html). \n\n Declaration \n Swift \n\n var latitude: CLLocationDegrees { get set }\n\n Objective-C \n\n @property (nonatomic) CLLocationDegrees latitude;\n\n- `\n ``\n ``\n `\n\n [longitude](#/c:objc(cs)GMSMarkerLayer(py)longitude)`\n ` \n Longitude, part of `position` on [GMSMarker](../Classes/GMSMarker.html). \n\n Declaration \n Swift \n\n var longitude: CLLocationDegrees { get set }\n\n Objective-C \n\n @property (nonatomic) CLLocationDegrees longitude;\n\n- `\n ``\n ``\n `\n\n [rotation](#/c:objc(cs)GMSMarkerLayer(py)rotation)`\n ` \n Rotation, as per [GMSMarker](../Classes/GMSMarker.html). \n\n Declaration \n Swift \n\n var rotation: CLLocationDegrees { get set }\n\n Objective-C \n\n @property (nonatomic) CLLocationDegrees rotation;\n\n- `\n ``\n ``\n `\n\n [opacity](#/c:objc(cs)GMSMarkerLayer(py)opacity)`\n ` \n Opacity, as per [GMSMarker](../Classes/GMSMarker.html). \n\n Declaration \n Swift \n\n var opacity: Float { get set }\n\n Objective-C \n\n @property float opacity;"]]