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

Programming with MapPoint 2006

This is a discussion on Programming with MapPoint 2006 within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi. I have a vb6 application that uses mappoint control. I have another pocket pc application that reads gps coordinates ...

  1. #1
    RAPZ is offline Junior Member White Belt
    Join Date
    Nov 2006
    Posts
    4

    Programming with MapPoint 2006

    Hi.

    I have a vb6 application that uses mappoint control. I have another pocket pc application that reads gps coordinates and store the generated data in a sql server table.

    I need to know how to:

    1. draw the path in a map based on collected gps coordinates;
    2. import sql server data using a query (I used a udl file and used "file.udl!TableName" and it works fine but I need to use "file.udl!SqlServerQuery" or other method to import the data);
    3. having a mappoint dataset with data (latitude,longitude, value1, value2), how to show a column chart in all the locations?
    4. how to define the color for each column;
    Thanks in advance.

    RAPZ.

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

    Re: Programming with MapPoint 2006

    I think you can do everything except #4, it does not let you set the colors.

    #1, see the AddLine method.
    #2, you might need to use a View?
    For #3 you will use the DisplayDataMap method. For me DisplayDataMap is almost always a pain to deal with but after trial and error I eventually get it to work.

    hope this helps.

    For general programming help, besides the Help File which is great, both the MapPoint for Dummies and Programming MapPoint in .NET books will help you get up to speed with MapPoint and give you ideas of what it is capable of...

    Eric

  3. #3
    RAPZ is offline Junior Member White Belt
    Join Date
    Nov 2006
    Posts
    4

    Re: Programming with MapPoint 2006

    Thanks for the reply.

    I will try your tips...but I really need to choose the colums color for columns chart. If someone know how...more tips will be nice!

    Thanks again.
    RAPZ.

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

    Re: Programming with MapPoint 2006

    I had looked in the Data Mapping Wizard and it didn't look like it gave you the option to change the color ?

    I started poking through the DisplayDataMap method options, and in the ColorScheme property it looks like there are options for the Series Column Chart, see the bottom graphic -- "Color schemes available with Series Column Chart maps". So you can set the color, but the Series Column Chart always has bars of all the same color.

    It does not look like there is a way to set the colors of the bars of the regular "Column Chart".

    One thing you might consider is to use MapInfo Pro to map your data on top of MapPoint using the tool "Map-In-A-Box" to tie them together.

    You can see some examples of what is possible in this article --

    Map-In-A-Box Puts MapPoint Maps Into MapInfo

    Eric

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. MapPoint Programming Documentation? Why so little?
    By tacaldo in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-20-2008, 02:42 PM
  2. Ambiguous messages ( programming or not programming? )
    By Mohamed in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-13-2006, 04:35 PM
  3. Programming MapPoint via .NET
    By Anonymous in forum MP2K Magazine Articles
    Replies: 1
    Last Post: 02-21-2006, 10:42 AM
  4. C# samples for MapPoint programming
    By tacaldo in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 03-21-2005, 06:32 PM
  5. In using MapPoint in programming with VB how do yo....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-27-2001, 02:53 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