Community of VE/MapPoint Users and Developers
This is a discussion on Newbie Question: Locating golf courses around pushpins? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Is there anyway to find all of the golf courses within x miles of a pushpin?...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
|
I dont think Mappoint has a place category for Golf Courses? but here is a sample for finding Chinese Restaurants within 2 miles of a pushpin in Annapolis, Md. I know it does not help you with Golf Courses but I thought someone reading this might want to know how to do it... Code: Dim objmap As MapPointCtl.Map
Set objmap = MappointControl1.ActiveMap
Dim objloc As MapPointCtl.Location
Set objloc = objmap.FindResults("Annapolis, MD").Item(1)
Dim iresults As MapPointCtl.FindResults
Set iresults = objloc.FindNearby(2)
For i = 1 To iresults.Count
If iresults(i).PlaceCategory.Name = "Restaurants - Chinese" Then
iCollection = iCollection & iresults.Item(i).Name & vbCrLf
End If
Next
MsgBox iCollection
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
| ||||
|
MapPoint does know about Golf Courses, but yes it isn't in the categories. Which is annoying - because I've been mapping them recently. It was often possible to search on a golf course, and it would be there complete with its own icon! For some golf course maps I've been doing recently, I ended up mapping by address and saving the coordinates. This was for only one county and about a dozen courses so acceptable. Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009 |
![]() |
| Tags |
| courses, golf, locating, newbie, pushpins, question |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GPS Newbie question | Anonymous | MapPoint 2006/2009 Discussion | 7 | 11-14-2007 02:32 AM |
| newbie question | xmikexx | MapPoint 2006/2009 Discussion | 2 | 11-06-2004 12:05 PM |
| Newbie question | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-28-2004 03:54 PM |
| Locating pushpins w/in specific distance | Anonymous | MapPoint 2006/2009 Discussion | 0 | 12-19-2003 06:07 PM |
| GIS Newbie Question | topak2000 | MapPoint 2006/2009 Discussion | 1 | 09-15-2002 01:38 PM |