@@ -373,19 +373,19 @@ - (void)setIconOpacity:(id <MGLStyleAttributeValue>)iconOpacity
373
373
}
374
374
- (void )setIconColor : (id <MGLStyleAttributeValue>)iconColor
375
375
{
376
- symbolLayer->setIconColor ([MGLStyleAttribute colorPropertyValueWith: iconColor] );
376
+ symbolLayer->setIconColor (iconColor. colorValue . mbgl_propertyValue );
377
377
}
378
378
- (id <MGLStyleAttributeValue>)iconColor
379
379
{
380
- return [[MGLStyleAttribute alloc ] init ]; // return [ MGLColor mbgl_color :symbolLayer->getIconColor().asConstant ()];
380
+ return [MGLColor mbgl_propertyValue : symbolLayer->getIconColor ()];
381
381
}
382
382
- (void )setIconHaloColor : (id <MGLStyleAttributeValue>)iconHaloColor
383
383
{
384
- symbolLayer->setIconHaloColor ([MGLStyleAttribute colorPropertyValueWith: iconHaloColor] );
384
+ symbolLayer->setIconHaloColor (iconHaloColor. colorValue . mbgl_propertyValue );
385
385
}
386
386
- (id <MGLStyleAttributeValue>)iconHaloColor
387
387
{
388
- return [[MGLStyleAttribute alloc ] init ]; // return [ MGLColor mbgl_color :symbolLayer->getIconHaloColor().asConstant ()];
388
+ return [MGLColor mbgl_propertyValue : symbolLayer->getIconHaloColor ()];
389
389
}
390
390
- (void )setIconHaloWidth : (id <MGLStyleAttributeValue>)iconHaloWidth
391
391
{
@@ -429,19 +429,19 @@ - (void)setTextOpacity:(id <MGLStyleAttributeValue>)textOpacity
429
429
}
430
430
- (void )setTextColor : (id <MGLStyleAttributeValue>)textColor
431
431
{
432
- symbolLayer->setTextColor ([MGLStyleAttribute colorPropertyValueWith: textColor] );
432
+ symbolLayer->setTextColor (textColor. colorValue . mbgl_propertyValue );
433
433
}
434
434
- (id <MGLStyleAttributeValue>)textColor
435
435
{
436
- return [[MGLStyleAttribute alloc ] init ]; // return [ MGLColor mbgl_color :symbolLayer->getTextColor().asConstant ()];
436
+ return [MGLColor mbgl_propertyValue : symbolLayer->getTextColor ()];
437
437
}
438
438
- (void )setTextHaloColor : (id <MGLStyleAttributeValue>)textHaloColor
439
439
{
440
- symbolLayer->setTextHaloColor ([MGLStyleAttribute colorPropertyValueWith: textHaloColor] );
440
+ symbolLayer->setTextHaloColor (textHaloColor. colorValue . mbgl_propertyValue );
441
441
}
442
442
- (id <MGLStyleAttributeValue>)textHaloColor
443
443
{
444
- return [[MGLStyleAttribute alloc ] init ]; // return [ MGLColor mbgl_color :symbolLayer->getTextHaloColor().asConstant ()];
444
+ return [MGLColor mbgl_propertyValue : symbolLayer->getTextHaloColor ()];
445
445
}
446
446
- (void )setTextHaloWidth : (id <MGLStyleAttributeValue>)textHaloWidth
447
447
{
0 commit comments