diff options
author | Fabian Guerra Soto <fabian.guerra@mapbox.com> | 2019-03-15 16:10:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-15 16:10:27 -0700 |
commit | 7939ff213a98de055e93ddd893ccae40b82a7d16 (patch) | |
tree | f23371b62e4ce1e4964361a04c0b11a39ede8569 /platform/macos/sdk-files.json | |
parent | c8cfdb1ced822711e772dfcc8f708b1a7a68b5fc (diff) | |
download | qtlocation-mapboxgl-7939ff213a98de055e93ddd893ccae40b82a7d16.tar.gz |
[ios, macos] Add format expression convenience methods support. (#14094)
Added the ios/macos format expression bindings.
The equivalent is mgl_attributed: or mgl_attributed({}) when making an expression using the expressionForFormat selector.
A new constructor called mgl_expressionForAttributedExpressions:(NSArray<NSExpression*>*)attributedExpressions was added to NSExpression+MGLAdditions category.
Updated the symbol style layer text test to use the bindings.
Updated the Predicates and Expressions.md and For Style Authors.md.ejs template with the bindings.
Diffstat (limited to 'platform/macos/sdk-files.json')
-rw-r--r-- | platform/macos/sdk-files.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/macos/sdk-files.json b/platform/macos/sdk-files.json index 3c728ad37d..25987a5a0e 100644 --- a/platform/macos/sdk-files.json +++ b/platform/macos/sdk-files.json @@ -47,6 +47,7 @@ "platform/darwin/src/MGLSource.mm", "platform/darwin/src/MGLMapCamera.mm", "platform/darwin/src/MGLVectorStyleLayer.m", + "platform/darwin/src/MGLAttributedExpression.m", "platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm", "platform/darwin/src/MGLPolygon.mm", "platform/darwin/src/MGLDistanceFormatter.m", @@ -80,6 +81,7 @@ "MGLComputedShapeSource.h": "platform/darwin/src/MGLComputedShapeSource.h", "MGLRasterStyleLayer.h": "platform/darwin/src/MGLRasterStyleLayer.h", "NSExpression+MGLAdditions.h": "platform/darwin/src/NSExpression+MGLAdditions.h", + "MGLAttributedExpression.h": "platform/darwin/src/MGLAttributedExpression.h", "MGLAnnotation.h": "platform/darwin/src/MGLAnnotation.h", "MGLHillshadeStyleLayer.h": "platform/darwin/src/MGLHillshadeStyleLayer.h", "MGLMapSnapshotter.h": "platform/darwin/src/MGLMapSnapshotter.h", |