This example app demonstrates the following features:
- Get a certain territory.
Check how to update the vehicle in Update Vehicle example, to display it on the map or to have access to the customers inside it in order to create an optimization with them in Add Polygon Territory example.
When you run the example app, the territory will be returned.
- Create a
ProgressListener, avrp::Serviceand avrp::Territory. - Call the
getTerritory()method from thevrp::Serviceusing thevrp::Territoryfrom 1.), the ID of the territory that you want to retrieve and theProgressListener. - Once the operation completes, the
vrp::Territoryfrom 1.) will be populated.