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
Like Tree1Likes
  • 1 Post By John Meyer

Custom symbols

This is a discussion on Custom symbols within the MapPoint Desktop Discussion forums, part of the Map Forums category; I'd like to be able to import a data set, and have the symbol displayed on the map be a ...

  1. #1
    Il Rex is offline Junior Member White Belt
    Join Date
    Jul 2005
    Posts
    1

    Custom symbols

    I'd like to be able to import a data set, and have the symbol displayed on the map be a colored circle having a two mile radius. I can't figure out how to do that. Is there a simple, or even relatively simple, way to accomplish this?

    Thanks in advance.

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    A custom symbol will not really work because the radius will be different based on the zoom level of the map. Here is sample code to add a 2 mile radius shape

    Code:
    Dim objmap As MapPoint.Map
    Set objmap = GetObject(, "MapPoint.Application").ActiveMap
    Set objFindResults = objmap.FindAddressResults(, , , , "20817", geoCountryUnitedStates)
    objmap.AddPushpin objFindResults(1).Location, "My Pushpin"
    
    Dim aShape As MapPoint.Shape
    Set aShape = objmap.Shapes.AddShape(geoShapeRadius, objFindResults)(1).Location, 4,)
    aShape.Line.ForeColor = vbGreen
    aShape.Fill.ForeColor = vbRed
    aShape.Fill.Visible = True
    Last edited by Eric Frost; 07-17-2011 at 10:04 AM.

  3. #3
    jvanhawk21 is offline Junior Member White Belt
    Join Date
    Jul 2011
    Posts
    1

    Re: Custom symbols

    John,

    I'm also looking for a similar solution. I would ideally like to plot a transparent OR an opaque radius, and I would like to change the size of the radius (For example, a 50 mile opaque radius around 4000 locations on MapPoint). I'm very new to MapPoint, and I have never used Visual Basic . Could you please tell me how to modify the code you provided to Rex, and tell me where that code specifically goes please?

    Thanks so much!

  4. #4
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4

    Re: Custom symbols

    Hello jvanhawk21 and welcome to the forum!

    I'd recommend to get started with Excel VBA, the syntax is identical to all the VB6 examples in the help file, and it only requires Excel (any version) to be installed, you do not need Visual Studio or Visual Basic.

    There are some Excel VBA examples to get you started at Working With Excel and MapPoint - MP2K Magazine.

    Let us know how it goes and if you need help!

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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Having trouble getting symbols to match MapPoint's symbols
    By BobFromBoston in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-07-2006, 02:06 PM
  2. Custom Pushpins symbols
    By mionut in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-18-2005, 11:24 AM
  3. List of Available Symbols
    By Winwaed in forum MapPoint Desktop Discussion
    Replies: 17
    Last Post: 03-25-2005, 05:09 PM
  4. How can I use the Symbols (i.e. car) on a VB form?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-01-2005, 02:23 PM
  5. Custom Symbols
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-20-2003, 01:21 PM

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 84 85 86 87 88 89 90 91 92 93 94 95 96