Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Find Nearby Places... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; In the MapPoint application (not the MapPoint control) a user can right click on a pushpin (or route) and select ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Find Nearby Places... |
| ||||
|
You can Dim a FindResults collection.. it's an object. Check the code in this article: http://www.mp2kmag.com/a53--poi.poin....mappoint.html In particular, see the line here.. the FindNearby results are assigned to a FindResults object? 'Get the POIs within 50 mile radius Set oFR = oLocLatLong.FindNearby(50) Hope this helps, Eric
__________________ |
| |||
|
Ok, I read in a list of customers, locate them on the map and put them on the map as a new PushPin DataSet, containing all the necessary informations for my purpose. So far everything just works fine for me. The next step would be that the user can right-click on one of these PushPins and select "Find nearby places" from the context menu on the map. The Find Nearby places search dialog of MapPoint pops up on the left side of the MapPoint control and you can specify the search radius. And here is what it want: When this search is done, a new PushPin DataSet is created which contains all the PushPins in the given radius. I now want to access this SearchResult DataSet to read out the customer information of these pushpins. I don't want to do the search within my Application. My current solution to this problem is that I show a new form in which you have to enter the customer's name and the search radius. My App then looks for this pushpin and makes a FindNearby() query and I use this FindResult to extract the information from the found PushPins. This has two disadvantages: In my Application it can happen, that two or more pushpins have the same name, so the FindNearby() method sometimes doesn't start the search at the correct PushPin, so the SearchResult is sometimes just wrong for me. The second problem is that my App will be used by quite a number of "dumb-users", and letting them select the pushpin directly and use the context menu search will give more accurate results than giving them the oportunity to miss-type the company name in my form, which can cause trouble with the search. If you had an idea on how to access the context menu SearchResult it would be great if you could share it with me. Thx in advance |
![]() |
| Tags |
| find, nearby, places |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find Places Nearby Tool | Anonymous | MapPoint 2006/2009 Discussion | 0 | 03-29-2004 10:27 AM |
| Export "Find nearby places" along a route? | Anonymous | MapPoint 2006/2009 Discussion | 4 | 11-06-2003 09:56 AM |
| find nearby places sort by drivetime | Anonymous | Wish List | 0 | 08-28-2002 07:18 AM |
| Is it possible to export MapPoints' nearby places .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-15-2002 09:14 AM |
| Using find nearby places, can I 1)print the map wi.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-06-2001 12:35 PM |
Algarve Holiday
Portuguese all year round sunshine is some of what awaits you if you choose the Algarve holiday option through UlookUbook!