Free Text Search¶
Search for places using text.

Use case¶
Search for points of interest relevant to the given input text.
How to use the sample¶
First, get an API key token, see the Getting Started guide.
Download the Maps & Navigation SDK for C++ archive file for Linux or WindowsWhen you open the sample, you’ll be viewing the scene from above. A fly will be performed to the first point of interest found.
How it works¶
Create a
MapViewListener
,OpenGLContext
andMapView
.Create a
LandmarkList
.Call the
SearchService
using the list from 2.), a progress listener, the keywords you are searching for and a pair of coordinates relevant to your search.Once the search operation completes, instruct the
MapView
to center on the coordinates of the first result.Instruct the
MapView
to activate the highlight in order for the result to be seen better.