SearchService class abstract Places

SearchService provides search operations for Landmark and OverlayItem entities.

Exposes place search capabilities for landmarks and overlay items. It supports text‑based and area/route/position‑anchored queries with optional preferences, returns ordered landmark results relevant to a reference position.

Search can be customized via the SearchPreferences preferences passed to the search methods.

Also see GuidedAddressSearchService for hierarchical address search capabilities.

Constructors

SearchService.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

transferStatistics TransferStatistics
Get the transfer statistics
no setter

Static Methods

cancelSearch(TaskHandler taskHandler) → void
Cancel specific request identified by the task handler.
Search using text and geographic area as discriminants.
searchAlongRoute(Route route, void onComplete(GemError err, List<Landmark> results), {String? textFilter, SearchPreferences? preferences}) TaskHandler?
Search for landmarks along the specified route.
searchAroundPosition(Coordinates position, void onComplete(GemError err, List<Landmark> results), {String? textFilter, SearchPreferences? preferences}) TaskHandler?
Get list of landmarks for specific coordinates.
searchInArea(RectangleGeographicArea area, Coordinates referenceCoordinates, void onComplete(GemError err, List<Landmark> results), {String textFilter = '', SearchPreferences? preferences}) TaskHandler?
Get list of landmarks in the given geographic area.
searchLandmarkDetails(List<Landmark> results, void onComplete(GemError err)) TaskHandler?
Get details for the given landmark list.