Home > @magiclane/maps-sdk > SearchService
SearchService class
Search service class
Places
Signature:
export declare abstract class SearchService Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|
Cancel specific request identified by the task handler. | |
|
search({ textFilter, referenceCoordinates, onCompleteCallback, preferences, locationHint, }, input) |
|
Search using text and geographic area as discriminants. |
|
searchAlongRoute({ route, onCompleteCallback, textFilter, preferences, }, input) |
|
Search for landmarks along the specified route. |
|
searchAroundPosition({ position, onCompleteCallback, textFilter, preferences, }, input) |
|
Get list of landmarks for specific coordinates. |
|
searchInArea({ area, referenceCoordinates, onCompleteCallback, textFilter, preferences, }, input) |
|
Get list of landmarks in the given geographic area. |
|
|
Get details for the given landmark list. The main purpose of this method is to populate the details for a landmark provided by selecting a landmark from the upper zoom level of the map. Other types of landmarks (such as the ones provided by search) are already up-to-date. Does not work with user created landmarks. |