If you wanted to create an indoor map of a large facility that also provides directions to every possible location inside the building, how would you do that?
I’m starting with a basic idea of giving the user two drop downs to select their origin and desination. I then want to dynamically draw a path to show the user how to get to their destination.
Would I have to draw a distinct path for every possible destination? Or could reuse intersecting paths?
I basically want to do Google Maps, but inside a building with no GPS available.
If you can divide the map into a grid, you can plot a path using any pathfinding algorithm such as a-star e.g http://www.policyalmanac.org/games/aStarTutorial.htm
You should be able to plot routes dynamically using the points found by the process. There are actionscript translations of all the common pathfinding algorithms so you should be able to find plenty code online.
This is exactly what I’m trying to get away from doing. The possible destinations is in the hundreds for each origin. It could take me a lifetime to draw a path for every single origin and destination.