| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- //
- // GMSMarkerLayer.h
- // Google Maps SDK for iOS
- //
- // Copyright 2013 Google Inc.
- //
- // Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
- // Service: https://developers.google.com/maps/terms
- //
- #import <CoreLocation/CoreLocation.h>
- #import <QuartzCore/QuartzCore.h>
- #if __has_feature(modules)
- @import GoogleMapsBase;
- #else
- #import <GoogleMapsBase/GoogleMapsBase.h>
- #endif
- GMS_ASSUME_NONNULL_BEGIN
- /**
- * GMSMarkerLayer is a custom subclass of CALayer, 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.
- */
- @interface GMSMarkerLayer : CALayer
- /** Latitude, part of |position| on GMSMarker. */
- @property(nonatomic, assign) CLLocationDegrees latitude;
- /** Longitude, part of |position| on GMSMarker. */
- @property(nonatomic, assign) CLLocationDegrees longitude;
- /** Rotation, as per GMSMarker. */
- @property(nonatomic, assign) CLLocationDegrees rotation;
- /** Opacity, as per GMSMarker. */
- @property float opacity;
- @end
- extern NSString *const kGMSMarkerLayerLatitude;
- extern NSString *const kGMSMarkerLayerLongitude;
- extern NSString *const kGMSMarkerLayerRotation;
- extern NSString *const kGMSMarkerLayerOpacity;
- GMS_ASSUME_NONNULL_END
|