-
May 3rd, 2011, 06:30 PM
#1
simulation-
My project for next semester is to simulate a red dot along a google map.
That is, the google map of roads in a local city will be used and a red dot is drawn right on a snapshot of it. Arrow keys are use to guide its motion along the path. Any suggestion please ? Is this project easy ? I can' t imagine how it is actually.
Thank you
A nude clear timing bomb engineer.
-
May 5th, 2011, 06:55 AM
#2
Re: simulation-
1. Take a snapshot of your map and save it in a bmp file.
This could be done with your browser, the printscreen key, and a software about pictures.
Level of difficulty: easy.
2. Create a program that can display that picture
Level of difficulty: medium.
3. Create a program that can draw a red dot.
Level of difficulty: between easy and medium.
4. Create a program that can find the boundaries of a road on the picture
Level of difficulty: easy if the color of the road is always the same. Otherwise this might be difficult.
5. Create a program that can receive input about the arrow keys
Level of difficulty: easy.
6. Doing all this
This will require a lot of time for a beginner who doesn't know Windows programing, but you will learn something valuable in the process.
Good luck to you!
-
May 5th, 2011, 08:29 AM
#3
Re: simulation-
Hi,
Do you have to use Win32 & C++ for the project?
If not, it will be quite a lot easier since you can use the Google Maps Javascript API:
http://code.google.com/intl/en/apis/...on/javascript/
If you can use use c#, take a look at the Bing maps API
http://www.microsoft.com/maps/developers/web.aspx
Alan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|