diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-10-05 03:25:04 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-10-11 15:30:16 -0700 |
commit | c78b5b1d7e95f139ad667781bec0d67b5976809d (patch) | |
tree | e3f7f70b96687bd270acfe6db6349576d4602455 /platform/darwin/src/MGLCircleStyleLayer.h | |
parent | c1b05c8f5bd0c0a559dfa75443632fc3c48384f4 (diff) | |
download | qtlocation-mapboxgl-c78b5b1d7e95f139ad667781bec0d67b5976809d.tar.gz |
[ios, macos] Simplified style property enum names
The name of each enumeration type no longer refers to the layer type that uses it.
Diffstat (limited to 'platform/darwin/src/MGLCircleStyleLayer.h')
-rw-r--r-- | platform/darwin/src/MGLCircleStyleLayer.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/platform/darwin/src/MGLCircleStyleLayer.h b/platform/darwin/src/MGLCircleStyleLayer.h index d056815b9d..d15fce7cbe 100644 --- a/platform/darwin/src/MGLCircleStyleLayer.h +++ b/platform/darwin/src/MGLCircleStyleLayer.h @@ -9,29 +9,29 @@ NS_ASSUME_NONNULL_BEGIN /** Controls the translation reference point. */ -typedef NS_ENUM(NSUInteger, MGLCircleStyleLayerCircleTranslateAnchor) { +typedef NS_ENUM(NSUInteger, MGLCircleTranslateAnchor) { /** The circle is translated relative to the map. */ - MGLCircleStyleLayerCircleTranslateAnchorMap, + MGLCircleTranslateAnchorMap, /** The circle is translated relative to the viewport. */ - MGLCircleStyleLayerCircleTranslateAnchorViewport, + MGLCircleTranslateAnchorViewport, }; /** Controls the scaling behavior of the circle when the map is pitched. */ -typedef NS_ENUM(NSUInteger, MGLCircleStyleLayerCirclePitchScale) { +typedef NS_ENUM(NSUInteger, MGLCirclePitchScale) { /** Circles are scaled according to their apparent distance to the camera. */ - MGLCircleStyleLayerCirclePitchScaleMap, + MGLCirclePitchScaleMap, /** Circles are not scaled. */ - MGLCircleStyleLayerCirclePitchScaleViewport, + MGLCirclePitchScaleViewport, }; /** @@ -95,7 +95,7 @@ typedef NS_ENUM(NSUInteger, MGLCircleStyleLayerCirclePitchScale) { /** Controls the translation reference point. - The default value of this property is an `NSValue` object containing `MGLCircleStyleLayerCircleTranslateAnchorMap`. Set this property to `nil` to reset it to the default value. + The default value of this property is an `NSValue` object containing `MGLCircleTranslateAnchorMap`. Set this property to `nil` to reset it to the default value. This property is only applied to the style if `circleTranslate` is non-`nil`. Otherwise, it is ignored. */ @@ -104,7 +104,7 @@ typedef NS_ENUM(NSUInteger, MGLCircleStyleLayerCirclePitchScale) { /** Controls the scaling behavior of the circle when the map is pitched. - The default value of this property is an `NSValue` object containing `MGLCircleStyleLayerCirclePitchScaleMap`. Set this property to `nil` to reset it to the default value. + The default value of this property is an `NSValue` object containing `MGLCirclePitchScaleMap`. Set this property to `nil` to reset it to the default value. */ @property (nonatomic, null_resettable) id <MGLStyleAttributeValue> circlePitchScale; |