This example app demonstrates the following features:
- Calculate routes and display them in separate views
When you run the example app, 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.
- Create two
MapServiceListenerobjects, oneOpenGLContext, oneScreenand twoMapViewobjects. - Create a
RouteList, aLandmarkListwith two Landmarks in it and aRoutePreferencesobject. - Call the
RoutingServiceusingRouteList,LandmarkList,RoutePreferencesand the progress listener. - Perform steps 2 and 3 for the 2nd
MapView. - Once the route calculation operations complete, add the first calculated route of each collection to their corresponding view
MapViewPreferencesroutes collection. - Instruct both the
MapViewobjects to center on the first route.
