AgDawg
04-22-2008, 02:12 PM
I have produced a pin map with over a 100 locations based upon lat, long and I now need to draw a 30 mile radius around each. Is there a quicker way to do this besides the manual way?
Drawing Multiple Radius CirclesAgDawg 04-22-2008, 02:12 PM I have produced a pin map with over a 100 locations based upon lat, long and I now need to draw a 30 mile radius around each. Is there a quicker way to do this besides the manual way? Winwaed 04-22-2008, 04:03 PM You will need to do this with custom programming. For each location, you need a call to AddShape, eg. in VB6: myMap.Shapes.AddShape geoShapeCircle, oLoc, 30,30 where myMap is your Map object, oLoc is your location object. If you have the pins already, you would also need code to loop over the pushpins getting their locations (=oLoc). Richard Winwaed 04-28-2008, 08:58 AM A How-To article has been published here: A Simple Add-in for MapPoint API Beginners - MapPoint Articles - MP2K Magazine (http://www.mp2kmag.com/a146--com.addin.mappoint.html) Richard AgDawg 04-28-2008, 01:34 PM Thank You very much. This will save me a considerable amount of time. plscahill 06-01-2008, 03:34 PM Thank you for the information Help out so very much. I have a question since in the code provided the radius is hard coded, is there a way to have the code reference an excel sheet that has the values listed (5900+) and use those values as the radius value? If this is possible I would be greatly appreciative. thank you Pete | ||