Home > @magiclane/maps-sdk > SearchPreferences
SearchPreferences class
Search preferences
Places
Signature:
export declare class SearchPreferences extends GemAutoreleaseObject Extends: GemAutoreleaseObject
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the SearchPreferences class.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | Test if fuzzy search results are allowed Default is true | ||
boolean | Test if easy access filter is enabled Default is false | ||
boolean | Test if estimating house numbers not present in map data is allowed Default is true | ||
boolean | Test if exact match is used. Default is false. | ||
| Get access to the search target landmark stores collection | ||
number | Get the max number of matches. Default is 40 | ||
| Get access to the search target overlays collection | ||
| any | ||
boolean | Check if search through addresses is enabled. Default is true. | ||
boolean | Check if search through addresses is enabled. Default is true | ||
boolean | Get the flag for onboard search. Default is false | ||
number | Get the threshold distance for the request. Default is the maximum value of int |
Methods
Method | Modifiers | Description |
|---|---|---|
| Creates a new SearchPreferences instance with default or specified values | |