Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Style layer predicates should support NSContainsPredicateOperatorType operator #6784

Closed

Description

@1ec5

In #6586, I was wrong about being wrong about the CONTAINS operator in NSPredicate. Whereas the “Predicate Format String Syntax” chapter of the Predicate Programming Guide only lists CONTAINS under the string operators, the BNF definition explicitly states:

CONTAINS and IN serve both as aggregate operators and string operators, depending on the types of their arguments.

So we should revert #6590 and list the CONTAINS operator as an aggregate operator in the MGLVectorStyleLayer.predicate documentation comment.

/cc @boundsj @incanus

Activity

  1. added
    iOS
    macOS
    on Oct 21, 2016
  2. added this to the ios-v3.4.0 milestone on Oct 21, 2016
  3. self-assigned this
    on Nov 28, 2016
  4. boundsj commented on Dec 1, 2016

    @boundsj
    Contributor

    Fixed by #7232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugiOSmacOSruntime styling

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions