Center Map¶
Center the map view over a pair of coordinates.

Use case¶
Present a given area of the world map in a window.
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. The map view will move over the given set of coordinates.
How it works¶
Create a
MapViewListener
,OpenGLContext
andMapView
.Instruct the
MapView
to center on desired coordinates.Allow the application to run until the map view is fully loaded.