From d77a13eb7320722c48c8a18240adf99615c4b85f Mon Sep 17 00:00:00 2001 From: Fredrik Karlsson Date: Wed, 17 Aug 2016 13:38:02 +0200 Subject: [ios] Added support for filters (NSPredicate) [ios, macos] cleaned up filters [ios] added a filter example [ios] utest filters [ios, macos] nested predicates [ios] refactored [ios] filter -> NSPredicate [ios] fixed mbgl::Any/AllFilter -> NSPredicate [ios] translate nested mbgl::NotIn filters [ios] cleanup and added more utests [ios] fixed a bug in the None filter conversion and improved utests [ios, macos] doc [macos] added missing category [ios, macos] additional utests [ios, macos] updated documentation --- platform/darwin/src/MGLFillStyleLayer.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'platform/darwin/src/MGLFillStyleLayer.h') diff --git a/platform/darwin/src/MGLFillStyleLayer.h b/platform/darwin/src/MGLFillStyleLayer.h index c03e8ecae1..2d51f071e5 100644 --- a/platform/darwin/src/MGLFillStyleLayer.h +++ b/platform/darwin/src/MGLFillStyleLayer.h @@ -13,6 +13,14 @@ typedef NS_ENUM(NSUInteger, MGLFillStyleLayerFillTranslateAnchor) { @interface MGLFillStyleLayer : MGLBaseStyleLayer +/** + A predicate that corresponds to the layer's filter. + + The predicate's left expression must be a string that identifies a feature + property, or one of the special keys. + */ +@property (nonatomic, nullable) NSPredicate *predicate; + #pragma mark - Accessing the Paint Attributes /** -- cgit v1.2.1