CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: simulation-

  1. #1
    Join Date
    Apr 2011
    Posts
    5

    Question 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.

  2. #2
    Join Date
    Apr 2009
    Posts
    598

    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!

  3. #3
    Join Date
    Aug 2008
    Location
    Scotland
    Posts
    379

    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
  •  





Click Here to Expand Forum to Full Width

Featured