#include <MPQuery.h>
Query object used when making a request to MPLocationService
.
◆ near
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
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.;