Loading...
Searching...
No Matches

A single filter condition: property must match one of the given values. More...

#include <com/navigine/idl/objc/NCMapFilterCondition.h>

Inherits NSObject.

Instance Methods

(nonnull instancetype) - initWithProperty:values:
 Default constructor for class NCMapFilterCondition.
 

Class Methods

(nonnull instancetype) + mapFilterConditionWithProperty:values:
 Factory method for class NCMapFilterCondition.
 

Properties

NSString * property
 The feature property to match (e.g. "category", "kind").
 
NSArray< NSString * > * values
 List of allowed values. Feature is visible if its property matches any of these.
 

Detailed Description

A single filter condition: property must match one of the given values.

Swift code snippet:

// Create filter condition: show only venues with category "Toilet" or "Cafe"
let condition = NCMapFilterCondition(property: "category", values: ["Toilet", "Cafe"])

Objective C code snippet:

// Create filter condition: show only venues with category "Toilet" or "Cafe"
NCMapFilterCondition *condition = [[NCMapFilterCondition alloc] initWithProperty:@"category" values:@[@"Toilet", @"Cafe"]];

Definition at line 25 of file NCMapFilterCondition.h.

Method Documentation

◆ initWithProperty:values:

- (nonnull instancetype) initWithProperty: (nonnull NSString *) property
values: (nonnull NSArray< NSString * > *) values 

Default constructor for class NCMapFilterCondition.

◆ mapFilterConditionWithProperty:values:

+ (nonnull instancetype) mapFilterConditionWithProperty: (nonnull NSString *) property
values: (nonnull NSArray< NSString * > *) values 

Factory method for class NCMapFilterCondition.

Property Documentation

◆ property

- (NSString*) property
readnonatomicassign

The feature property to match (e.g. "category", "kind").

Definition at line 42 of file NCMapFilterCondition.h.

◆ values

- (NSArray<NSString *>*) values
readnonatomicassign

List of allowed values. Feature is visible if its property matches any of these.

Definition at line 47 of file NCMapFilterCondition.h.


The documentation for this class was generated from the following file: