Text Search in Geographic Area¶
Search for places using free-form text. Obtain the results that fall in the given geographic area.
Search for points of interest relevant to the given input text. Filter the results by a geographic area.
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 Windows
When 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 geographic area of choice.
SearchServiceusing the list from 2.), a progress listener, the keywords you are searching for, a pair of coordinates relevant to your search and the geographic area from 3.).
Once the search operation completes, instruct the
MapViewto center on the coordinates of the first result.
MapViewto activate the highlight in order for the result to be seen better.