MapsIndoors iOS SDK V3
|
#include <MPFilter.h>
Properties | |
NSArray< NSString * > * | locations |
NSArray< NSString * > * | types |
NSArray< NSString * > * | categories |
MPMapExtend * | bounds |
NSArray< NSString * > * | parents |
NSUInteger | take |
NSUInteger | skip |
NSUInteger | depth |
NSNumber * | floor |
Filter object used when making a request to MPLocationService
. The filters will be applied in the following order:
|
readwritenonatomicstrong |
Rectangular geographical bounds filter.
|
readwritenonatomicstrong |
Categories filter. List of category keys as in MPLocation.categories.allKeys
. If multiple categories are supplied the filter will OR'ed, meaning if a location belongs to at least one of the categories it will be considered as a match.
|
readwriteatomic |
The depth property makes it possible to get the n'th descendant of a parent location. ; Thus, the depth property only applies to filters that has set one or more parents. ; The hierarchial tree of data is generally structured as Venue > Building > Floor > Room > POI.; For example, this means that a Floor is the 1st descendant of a Building. ; So to get all locations inside a Building, set the depth to 3.; The default value is 1, giving you only the immediate descendant of the specified parents.;
|
readwritenonatomicstrong |
Filter by floor index. Note that there is a difference between the displayed floor name (e.g. "LG") and the index (e.g. -1).
|
readwritenonatomicstrong |
Locations filter. List of location ids as in MPLocation.locationId
. If multiple locations are supplied the filter will OR'ed.
|
readwritenonatomicstrong |
List of location ids that is hierarchially considered as a parent of other locations. Venues are a parents of Buildings and other Locations (mainly outdoor locations). Buildings are parents of Floors. Floors are parents of Rooms and other Locations.
|
readwritenonatomicassign |
Skip locations in the result, e.g. for pagination.
|
readwritenonatomicassign |
Limit number of locations in the result.
|
readwritenonatomicstrong |
Types filter. List of type names as in MPLocation.type
. If multiple types are supplied the filter will OR'ed, meaning if a location belongs to at least one of the types it will be considered as a match.