diff options
author | Jesse Bounds <jesse@rebounds.net> | 2016-11-22 11:30:15 -0800 |
---|---|---|
committer | Jesse Bounds <jesse@rebounds.net> | 2016-11-22 19:53:54 -0800 |
commit | d6d16c189a3ab9ec531c1b51f6c318312f7f3c1a (patch) | |
tree | 8378e02570cd06230d7069d0426693e96a644b2b /platform/darwin/src/MGLCircleStyleLayer.mm | |
parent | 13e0f9e527366dce43f59055fde17818f443e356 (diff) | |
download | qtlocation-mapboxgl-d6d16c189a3ab9ec531c1b51f6c318312f7f3c1a.tar.gz |
[ios, macos] Remove unused `MGLGeometryAdditions` category stub
This fixes an issue where the documentation for all NSValue categories
were described as `MGLGeometryAdditions`.
Diffstat (limited to 'platform/darwin/src/MGLCircleStyleLayer.mm')
-rw-r--r-- | platform/darwin/src/MGLCircleStyleLayer.mm | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/platform/darwin/src/MGLCircleStyleLayer.mm b/platform/darwin/src/MGLCircleStyleLayer.mm index 4e5f2c7fdf..16f27991f8 100644 --- a/platform/darwin/src/MGLCircleStyleLayer.mm +++ b/platform/darwin/src/MGLCircleStyleLayer.mm @@ -9,7 +9,6 @@ #import "MGLCircleStyleLayer.h" #include <mbgl/style/layers/circle_layer.hpp> - namespace mbgl { MBGL_DEFINE_ENUM(MGLCircleTranslateAnchor, { @@ -141,10 +140,7 @@ namespace mbgl { } - (void)setCircleTranslateAnchor:(MGLStyleValue<NSValue *> *)circleTranslateAnchor { - auto mbglValue = MGLStyleValueTransformer<mbgl::style::TranslateAnchorType, - NSValue *, - mbgl::style::TranslateAnchorType, - MGLCircleTranslateAnchor>().toEnumPropertyValue(circleTranslateAnchor); + auto mbglValue = MGLStyleValueTransformer<mbgl::style::TranslateAnchorType, NSValue *, mbgl::style::TranslateAnchorType, MGLCircleTranslateAnchor>().toEnumPropertyValue(circleTranslateAnchor); _rawLayer->setCircleTranslateAnchor(mbglValue); } @@ -154,10 +150,7 @@ namespace mbgl { } - (void)setCirclePitchScale:(MGLStyleValue<NSValue *> *)circlePitchScale { - auto mbglValue = MGLStyleValueTransformer<mbgl::style::CirclePitchScaleType, - NSValue *, - mbgl::style::CirclePitchScaleType, - MGLCirclePitchScale>().toEnumPropertyValue(circlePitchScale); + auto mbglValue = MGLStyleValueTransformer<mbgl::style::CirclePitchScaleType, NSValue *, mbgl::style::CirclePitchScaleType, MGLCirclePitchScale>().toEnumPropertyValue(circlePitchScale); _rawLayer->setCirclePitchScale(mbglValue); } |