Eamon

01-02-2003, 05:12 PM

Hi I am drawing radius in rings in mappoint. I am writing a program in visual basic to do this basically. I have a subroutine that takes a location object and draws a radius ring of a defined radius around the location. The program executes fine with no errors. It draws the ring, but I have one problem. The radius ring seems to be a little off. I am given a point in Rochester New York, and the radius is only 5 miles. so I multiply 5 by 2 to get my height and width.

Set shpRadius = m_objMap.Shapes.AddShape(geoShapeRadius, objlocation, dblWidth, dblHeight)

That is the basic call nothing very fancy at all. When I do this I am given a circle of radius 4.98 miles. It can be resized by hand to 5.00 miles. Could this have to do with the projection? Is there any properties or ideas worth looking at to try and make this program draw a circle of radius 5 miles. Thanks for any and all insights

Set shpRadius = m_objMap.Shapes.AddShape(geoShapeRadius, objlocation, dblWidth, dblHeight)

That is the basic call nothing very fancy at all. When I do this I am given a circle of radius 4.98 miles. It can be resized by hand to 5.00 miles. Could this have to do with the projection? Is there any properties or ideas worth looking at to try and make this program draw a circle of radius 5 miles. Thanks for any and all insights