714 B
714 B
Paths Finder
This code creates optimal paths.
- Creating a RoadInfo list that includes information about road segments and velocity.
- Adding fast roads to the list.
- Adding slow ring roads to the list.
- Creating a WayLayerGenerator for generating road layers and adding roads to it.
- Finding multiple paths from a starting point (startPoint) to multiple goal points (goalPoint01, goalPoint02, goalPoint03) using a specified radius.
- Preparing a roadsLayer for displaying on a map and adding road objects.
- Preparing a wayLayer for displaying on a map and creating geometric objects for each found path.
- Displaying the map using the ShowMap function and saving the map to the specified path.