fixes #5957: automatically call update() for iOS runtime style API
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// This file is generated.
|
||||
// Edit platform/darwin/scripts/generate-style-code.js, then run `make style-code-darwin`.
|
||||
|
||||
#import "MGLBaseStyleLayer_Private.hpp"
|
||||
#import "MGLStyleLayer_Private.hpp"
|
||||
#import "MGLStyleAttributeValue.h"
|
||||
#import "MGLCircleStyleLayer.h"
|
||||
@@ -32,6 +33,7 @@
|
||||
|
||||
- (void)setCircleRadius:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)circleRadius {
|
||||
self.layer->setCircleRadius(circleRadius.mbgl_floatPropertyValue);
|
||||
[self update];
|
||||
}
|
||||
|
||||
- (id <MGLStyleAttributeValue>)circleRadius {
|
||||
@@ -40,6 +42,7 @@
|
||||
|
||||
- (void)setCircleColor:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)circleColor {
|
||||
self.layer->setCircleColor(circleColor.mbgl_colorPropertyValue);
|
||||
[self update];
|
||||
}
|
||||
|
||||
- (id <MGLStyleAttributeValue>)circleColor {
|
||||
@@ -48,6 +51,7 @@
|
||||
|
||||
- (void)setCircleBlur:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)circleBlur {
|
||||
self.layer->setCircleBlur(circleBlur.mbgl_floatPropertyValue);
|
||||
[self update];
|
||||
}
|
||||
|
||||
- (id <MGLStyleAttributeValue>)circleBlur {
|
||||
@@ -56,6 +60,7 @@
|
||||
|
||||
- (void)setCircleOpacity:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)circleOpacity {
|
||||
self.layer->setCircleOpacity(circleOpacity.mbgl_floatPropertyValue);
|
||||
[self update];
|
||||
}
|
||||
|
||||
- (id <MGLStyleAttributeValue>)circleOpacity {
|
||||
@@ -64,6 +69,7 @@
|
||||
|
||||
- (void)setCircleTranslate:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)circleTranslate {
|
||||
self.layer->setCircleTranslate(circleTranslate.mbgl_offsetPropertyValue);
|
||||
[self update];
|
||||
}
|
||||
|
||||
- (id <MGLStyleAttributeValue>)circleTranslate {
|
||||
@@ -72,6 +78,7 @@
|
||||
|
||||
- (void)setCircleTranslateAnchor:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)circleTranslateAnchor {
|
||||
MGLSetEnumProperty(circleTranslateAnchor, CircleTranslateAnchor, TranslateAnchorType, MGLCircleStyleLayerCircleTranslateAnchor);
|
||||
[self update];
|
||||
}
|
||||
|
||||
- (id <MGLStyleAttributeValue>)circleTranslateAnchor {
|
||||
@@ -80,6 +87,7 @@
|
||||
|
||||
- (void)setCirclePitchScale:(id <MGLStyleAttributeValue, MGLStyleAttributeValue_Private>)circlePitchScale {
|
||||
MGLSetEnumProperty(circlePitchScale, CirclePitchScale, CirclePitchScaleType, MGLCircleStyleLayerCirclePitchScale);
|
||||
[self update];
|
||||
}
|
||||
|
||||
- (id <MGLStyleAttributeValue>)circlePitchScale {
|
||||
|
||||
Reference in New Issue
Block a user