Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

Error in programatically drawing radius rings in mappoint

This is a discussion on Error in programatically drawing radius rings in mappoint within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi I am drawing radius in rings in mappoint. I am writing a program in visual basic to do this ...

  1. #1
    Eamon is offline Junior Member Yellow Belt
    Join Date
    Aug 2002
    Posts
    15

    Error in programatically drawing radius rings in mappoint

    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.

    Code:
    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

  2. #2
    Eamon is offline Junior Member Yellow Belt
    Join Date
    Aug 2002
    Posts
    15

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Rotate map programatically in MapPoint 2006
    By Banu in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-04-2006, 04:46 PM
  2. Drawing radius in the wind direction
    By vidyakulkarni in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-10-2004, 02:45 PM
  3. MapPoint to Gif Programatically
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 03-17-2004, 08:32 AM
  4. Can MapPoint programatically add a place (not a pushpin)?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-11-2003, 10:39 AM
  5. Is MapPoint capable of programatically returning a....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-18-2002, 04:27 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83