MMKSearch
Warning
This feature is available in the Full MapKit SDK version
|
class MMKSearch : NSObject |
Summary
Instance methods
|
func createSearchLayer(with mapWindow: MMKMapWindow) -> MMKSearchLayer |
|
func createSearchManager(with searchManagerType: MMKSearchManagerType) -> MMKSearchManager |
Properties
|
var isValid: Bool { get } |
Instance methods
createSearchLayer(with:)
|
func createSearchLayer(with mapWindow: MMKMapWindow) -> MMKSearchLayer |
Gets the search_layer object.
createSearchManager(with:)
|
func createSearchManager(with searchManagerType: MMKSearchManagerType) -> MMKSearchManager |
Creates a manager that allows to search for various geographical objects using a variety of parameters.
Properties
isValid
|
var isValid: Bool { get } |
Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.