MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Find Nearby Places...

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


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-16-2003
Member
Yellow Belt
 
Join Date: Mar 2003
Posts: 41
Find Nearby Places...

In the MapPoint application (not the MapPoint control) a user can right click on a pushpin (or route) and select "Find Nearby Places...". The user can then see a list of nearby places and select a radius. On the map the user will see the search radius. This search radius looks exactly the same as the search radius you get when you use the FindNearby method in a COM object. FindNearby returns a FindResults collection. Does this mean the when the user selects "Find Nearby Places..." that somewhere within the application FindResults collection is created? If so has anyone figured out how to access it? I've been looking all though the object model documentation looking for some kind of "CurrrentFindResults" property or something like that... I've had no luck. Anyone else?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 08-10-2004
Junior Member
White Belt
 
Join Date: Aug 2004
Posts: 8
I've got the same problem. Need help quickly!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 08-10-2004
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,322
Blog Entries: 1
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
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 08-12-2004
Junior Member
White Belt
 
Join Date: Aug 2004
Posts: 8
Not quite the way I wanted to do it, but it helped me anyway.

Thx alot

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 08-12-2004
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,322
Blog Entries: 1
The object model is not always very intuitive.. how did you want to do it?

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 08-12-2004
Junior Member
White Belt
 
Join Date: Aug 2004
Posts: 8
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 08-16-2004
Junior Member
White Belt
 
Join Date: Aug 2004
Posts: 8
Thx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 10:29 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Ski Breaks
Book ski breaks to a range of great ski destinations online at Holiday Hypermarket. It is quick, easy and best of all, fantast value.

Italy Weather
Check out Italy Weather - Travel Counsellors details information on Italy including, weather, flights and accommodation.

Holiday in Portugal
A holiday in Portugal is low cost but great value when you book with us online. Transportation and accommodation are excellent and very reasonable too.

Dominican Republic Holidays
Dominican Republic holidays have something to offer for everyone. From water sports, to sun bathing and more, enjoy a holiday there!

Turkey
Before booking a holiday to Turkey check out the ULookUBook travel guide. Find out about the rich culture in Turkey before you go there to help you to make the most of your holiday.

Holiday Comparison
We can help you with holiday comparison when you check out the options at Travel.co.uk

Cheap Holidays in Lanzarote
Now's the time to get up and go visit the Canary Islands! View cheap holidays in Lanzarote only at On The Beach.


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