MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
Properties | List of all members
MPQuery Class Reference

#include <MPQuery.h>

Inheritance diagram for MPQuery:

Properties

NSArray< NSString * > * queryProperties
 
NSString * query
 
MPPointnear
 

Detailed Description

Query object used when making a request to MPLocationService.

Property Documentation

◆ near

- (MPPoint*) near
readwritenonatomicassign

Geographical point that serve as additional horizontal and vertical proximity context for a search. If supplied, locations that is closer to the near point will be ranked higher. The proximity calculation is based on direct lines and does not reflect real world travel distances.

◆ query

- (NSString*) query
readwritenonatomicassign

Single line search string.

◆ queryProperties

- (NSArray<NSString*>*) queryProperties
readwritenonatomicassign

List of properties that MPLocationService will take into account when finding and sorting matching locations. By default, MPLocationService will search in the name, externalId (formerly known as roomId) and aliases properties. Possible other properties depend on the location content. E.g. if an MPLocation has a field called booking-id, the string "booking-id" (case-sensitive) may be added. Query properties added that does not exist in any locations will be ignored.;