# GoogleMaps Framework Reference

# GMSMarkerLayer

    @interface GMSMarkerLayer : https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSOverlayLayer.html

`GMSMarkerLayer` is a subclass of `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSOverlayLayer.html`, available on a per-marker basis, that allows
animation of several properties of its associated `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMarker.html`.

Note that this `CALayer` is never actually rendered directly, as `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMapView.html` is provided
entirely via an OpenGL layer. As such, adjustments or animations to 'default' properties of
`CALayer` will not have any effect.
- `


  ### [latitude](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMarkerLayer#/c:objc(cs)GMSMarkerLayer(py)latitude)


  ` Latitude, part of `position` on `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMarker.html`.

  #### Declaration

  Swift

      var latitude: CLLocationDegrees { get set }

  Objective-C

      @property (nonatomic) CLLocationDegrees latitude;

- `


  ### [longitude](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMarkerLayer#/c:objc(cs)GMSMarkerLayer(py)longitude)


  ` Longitude, part of `position` on `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMarker.html`.

  #### Declaration

  Swift

      var longitude: CLLocationDegrees { get set }

  Objective-C

      @property (nonatomic) CLLocationDegrees longitude;

- `


  ### [rotation](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMarkerLayer#/c:objc(cs)GMSMarkerLayer(py)rotation)


  ` Rotation, as per `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMarker.html`.

  #### Declaration

  Swift

      var rotation: CLLocationDegrees { get set }

  Objective-C

      @property (nonatomic) CLLocationDegrees rotation;

- `


  ### [opacity](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMarkerLayer#/c:objc(cs)GMSMarkerLayer(py)opacity)


  ` Opacity, as per `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMarker.html`.

  #### Declaration

  Swift

      var opacity: Float { get set }

  Objective-C

      @property float opacity;