Map Style¶
Show a different map style.

Use case¶
Change the map style to a more suitable one.
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 style will be different than in the previous examples.
How it works¶
Create a
MapViewListener
,OpenGLContext
andMapView
.Using a progress listener instruct the
ContentStore
to bring theContentList
. Wait for the operation to finish.Get the
ContentList
of styles.If unavailable locally, download the missing styles.
Set the desired style in the preferences of the
MapView
.