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 2 of 2

Find Nearby Pushpin in dataset

This is a discussion on Find Nearby Pushpin in dataset within the Products: Pushpin Tool, Single State Mapper forums, part of the Map Forums category; I am writing a vb application using mappoint and currently have it so that the user can enter an address, ...

  1. #1
    Dazzer is offline Senior Member Green Belt
    Join Date
    Sep 2003
    Posts
    103

    Find Nearby Pushpin in dataset

    I am writing a vb application using mappoint and currently have it so that the user can enter an address, the map template i have created then zooms to the location on the map and adds a pushpin. I would like mappoint to then return the location of the nearest pushpin in a seperate dataset, is this possible.

    I am currently using

    objPushPin.Location.FindNearby(2).Item(1).Name

    where objpushpin is the location the user has typed in, however this returns nearest places of interest (i.e. hotels, airports etc.) is it possible to have it locating just nearest pushpins instead.

    Thanks in advance for your help.

    Dazzer

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    Look at the "QueryCircle" method. Using your new pushpin as the center you can enumerate other pushpins within the circle.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. find nearby operation
    By edwong in forum Bing Maps and MapPoint Web Service
    Replies: 0
    Last Post: 10-03-2005, 02:41 PM
  2. Find Nearby Places...
    By Labtek in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 08-16-2004, 03:39 AM
  3. Get "find nearby" search DataSet?
    By Nostradamus in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 08-10-2004, 05:20 AM
  4. In my application, i am doing a find nearby at a p....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 03-03-2004, 02:50 PM
  5. Find Record in Dataset from selected Pushpin
    By neomoon in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-11-2003, 08:49 AM

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