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 4 of 4

Circles

This is a discussion on Circles within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi! I am a Newbee and have a "simpl" question. Is it possible ( by VB) not to draw puhpins ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Circles

    Hi!
    I am a Newbee and have a "simpl" question.
    Is it possible ( by VB) not to draw puhpins on map, but to draw circles with a fixed/free diameter and color ?. Like the way it is done when I import data from an excel-sheet.

    The shapobjekt is not a thing I want to use.


    Thanks from good old vienna.
    Walter

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,069
    Blog Entries
    4
    What's wrong with the shape object?

    You might try a polyline, use AddPolyline.

    The other thing would be use the pushpin but make it a circle with a transparent center.

    I am not understanding this part: "Like the way it is done when I import data from an excel-sheet. "

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  3. #3
    Martel is offline Junior Member Yellow Belt
    Join Date
    Feb 2003
    Posts
    28
    I think that "Like the way it is done when I import data from an excel-sheet " refers to the sized circle/shaded circle option on the Data Mapping Wizard. Not sure, but that is the only "fixed/free diameter and color" circle I can think of that is not a draw object.

    If you plan on using this without the Data Mapping Wizard see the help on DisplayDataMap method and the DataMapType constants "geoDataMapTypeShadedCircle" and "geoDataMapTypeSizedCircle."

    If you just want the circles without importing data, I think you will need to use the shape object.

  4. #4
    sthurlock is offline Junior Member Yellow Belt
    Join Date
    Dec 2003
    Posts
    12

    Re: Circles

    > Like the way it is done when I import data from an excel-sheet.

    I think you mean the very last step of the import where you can select the shape of the pushpin, right? There are circles in two sizes in various colors. You can set this by changing the symbol value. There is a table in the help under symbol properties, circles are values 16-31. You will have to loop through each pushpin and set it, here is a real example:


    Code:
           Do While Not objRecords.EOF
               lngCount = lngCount + 1
               If first = 1 Then
    ...
               End If
               objShape.Name = Current_RtName
               objRecords.Pushpin.Symbol = Current_RtNumber    ' <<<here
               objRecords.Pushpin.Note = Current_RtName
               objRecords.MoveNext
           Loop
    Hope that helps,
    sthurlock

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mission Impossible? Intersection of Multiple Circles
    By The Lone Turtle in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 03-05-2006, 12:59 PM
  2. Map Point VBA - Plotting circles
    By Phil Holt in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 02-05-2006, 05:33 AM
  3. How to change the size of the sized circles
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-10-2004, 03:54 AM
  4. Sized Circles are very misleading in MapPoint 2002
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-22-2004, 02:39 PM
  5. When using the shaded circles to plot a sum of net....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-05-2001, 06:08 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