Calculate Route Multi View¶
Calculate two routes and add them in two separate views.
Calculate routes and display them in separate views.
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. The screen will be split into two identical views. From each view a fly will be performed to a different calculated route.
How it works¶
OpenGLContext, one Screen and two
Landmarksin it and a
RoutePreferencesand the progress listener.
Perform steps 2 and 3 for the 2nd
Once the route calculation operations complete, add the first calculated route of each collection to their correspoding view
Instruct both the
MapViewobjects to center on the first route.