Show a collection of polygons on map.
Present a collection of polygons on map.
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 collection of polygons will be visible as well.
How it works¶
Polygonand add the desired coordinates to it.
Set the newly created
MarkerCollectionin the markers collections of the map view preferences.
MapViewto center on the area defined by the earlier created
Allow the application to run until the map views are fully loaded.