Is there anyway to find all of the golf courses within x miles of a pushpin?
This is a discussion on Newbie Question: Locating golf courses around pushpins? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Is there anyway to find all of the golf courses within x miles of a pushpin?...
Is there anyway to find all of the golf courses within x miles of a pushpin?
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
There are currently 1 users browsing this thread. (0 members and 1 guests)