For the 29.6 kb source code...
Click here >mapthingy.java<
Things to look out for:
- On this web page, you can only type "1.gif", "2.gif" or "1.jpg" for the file names, because they are the only ones that exist. You can download the applet and put it in the same folder as other map images, if you want to analyze those.
- The program can give a variety of error messages. Ask me if you don't understand.
- When you test it with other maps, make sure that the file has ONLY ONE "planar CONNECTED graph" style map. Otherwise it won't work properly.
- Bug info: open bug.gif. There are two locations named "start here" and "end here". First click on "start here", then "end here". You should get the correct route. Now click on "end here" first, then "start here", and you get the bad route. See if you can find out why.
That's about it, have fun with it, test it, and tell me if there's anything wrong.
Back to home page