Displaying a map location?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kevin

    Displaying a map location?

    Hi All,

    OK, I don't know if this is actually where I should be
    posting this question, but this is the only place where I
    think I'll be able to find some sort of answer.

    I would like to develop and application in C# Winforms,
    that ca display portions of a map of a country. So in
    other words if I select a street name, or city it must be
    able to locate that street/city on a map and display it to
    the user. My problem is how do I turn that sort of thing
    into code? I don't know how to relate the search to a
    position on a map. Can anyone point me in the right
    direction?

    Thanks alot for any replies
    Kevin
  • Morten Wennevik

    #2
    Re: Displaying a map location?

    I suspect you will need a huge database with the names of everything
    searchable and the corresponding coordinates. Once you have the
    coordinates (look up from the database using the search word(s)) it's a
    matter of selecting resolution and show the map using (coord - X, coord -
    Y)(coord + X, coord + Y).
    I could be wrong though.

    --
    Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

    Comment

    Working...