Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

Get map giving address

This is a discussion on Get map giving address within the MapPoint Desktop Discussion forums, part of the Map Forums category; Quick question: I'm new to Mappoint and would like to get a map based on an address. For example generate ...

  1. #1
    jparker is offline Junior Member White Belt
    Join Date
    Jan 2007
    Posts
    3

    Unhappy Get map giving address

    Quick question:

    I'm new to Mappoint and would like to get a map based on an address.

    For example generate a map using the address:

    '123 Any Street, My City, My State'.

    I use Delphi for development and Mappoint 2004/Mappoint 2006.

    thanks in advance for the help.

    Jarod

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Get map giving address

    Hi Jarod,

    FindAddressResults will give you a collection of Location objects where you can use the Goto method on.

  3. #3
    jparker is offline Junior Member White Belt
    Join Date
    Jan 2007
    Posts
    3

    Question Re: Get map giving address

    Wilfred,

    Thanks for the response. I must be missing something...

    Do you (or anyone else) have a snippet to? It can be in VB or C#.. doesn't need to be in Delphi.. I read all.

    Just need to position the map at an address, zoom and then copy the map.

    The zoom and copy i found the functions.. .just need to move the application object to the new address and make it take effect...

    thanks in advance (to anyone) for the help.

    jarod

  4. #4
    Mohamed is offline Member Green Belt
    Join Date
    Mar 2005
    Posts
    97

    Re: Get map giving address

    Hi,

    Try to Search your address using FindAddressResults or AddPushPin or FindResults... and GOTO method

    This function does the job in VB6

    Sub ZoomToLocation()

    Dim objApp As New MapPoint.Application
    Dim objMap As MapPoint.Map
    Dim objectal As MapPoint.Location

    'Configure l'application
    Set objMap = objApp.ActiveMap
    objApp.Visible = True
    objApp.UserControl = True

    'Obtient un lieu, puis effectue un zoom sur la meilleure vue de carte de ce lieu

    Set objectal = objMap.FindResults("Seattle, WA").Item(1)
    objectal.GoTo

    End Sub


    Ciao

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. odd and even address
    By chris2 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-24-2006, 12:07 PM
  2. Anyone willing to look up an address for me?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 11
    Last Post: 02-07-2004, 08:09 PM
  3. Getting Lat/Lon from a given address
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 09-12-2003, 04:01 PM
  4. giving an error while compiling....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 06-26-2003, 04:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96