MMKSearchMetadata
Warning
This feature is available in the Full MapKit SDK version
|
class MMKSearchMetadata : NSObject, MMKBaseMetadata |
Additional info for search response;
Summary
Class methods
|
 init(found: Int, |
Properties
|
var found: Int { get } |
|
var displayType: MMKSearchDisplayType { get } |
|
var boundingBox: MMKBoundingBox? { get } |
|
var sort: MMKSearchSort? { get } |
|
var toponym: MMKGeoObject? { get } |
|
var toponymResultMetadata: MMKSearchToponymResultMetadata? { get } |
|
var businessResultMetadata: MMKSearchBusinessResultMetadata? { get } |
|
var reqid: String { get } |
|
var context: String { get } |
|
var requestText: String { get } |
|
var correctedRequestText: String? { get } |
|
var requestBoundingBox: MMKBoundingBox? { get } |
Class methods
init(found:displayType:boundingBox:sort:toponym:toponymResultMetadata:businessResultMetadata:reqid:context:requestText:correctedRequestText:request:)
|
 init(found: Int, |
Properties
found
|
var found: Int { get } |
Approximate number of found objects.
displayType
|
var displayType: MMKSearchDisplayType { get } |
Display type.
boundingBox
|
var boundingBox: MMKBoundingBox? { get } |
Bounding box of the response as a whole.
Optional field, can be nil.
sort
|
var sort: MMKSearchSort? { get } |
Server-chosen sorting.
Optional field, can be nil.
toponym
|
var toponym: MMKGeoObject? { get } |
Geocoder response to the toponym part of the query.
Optional field, can be nil.
toponymResultMetadata
|
var toponymResultMetadata: MMKSearchToponymResultMetadata? { get } |
Additional info for the response from toponym search.
Optional field, can be nil.
businessResultMetadata
|
var businessResultMetadata: MMKSearchBusinessResultMetadata? { get } |
Additional info for the response from organization search.
Optional field, can be nil.
reqid
|
var reqid: String { get } |
Server-generated request ID.
context
|
var context: String { get } |
Server-generated request context.
requestText
|
var requestText: String { get } |
Initial request text.
correctedRequestText
|
var correctedRequestText: String? { get } |
Initial request text with correction of spelling mistakes.
Optional field, can be nil.
requestBoundingBox
|
var requestBoundingBox: MMKBoundingBox? { get } |
Initial request bounding box.
Optional field, can be nil.