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

large amount of pushpin creation optimization

This is a discussion on large amount of pushpin creation optimization within the Development forums, part of the MapPoint Desktop Discussion category; Hi everybody ! I'm building an application in wich I'm loading a large amount of objects from a CVS file ...

  1. #1
    bleduic is offline Junior Member White Belt
    Join Date
    Dec 2007
    Posts
    1

    large amount of pushpin creation optimization

    Hi everybody !

    I'm building an application in wich I'm loading a large amount of objects from a CVS file to a generic list through a for loop that iterates items from this list. Then I generate pushpins on a map. However, because of the large amount of pushpin to create, it takes a lot of time. Is there a way to optimize my code ?

    thanks for your replies

    Bruno

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: large amount of pushpin creation optimization

    Hi,

    If you have so mutch data then the fastes way is to use ImportData method.

  3. #3
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: large amount of pushpin creation optimization

    I agree, but this might not be appropriate. There's a limit on the number of pushpins that can be imported at once. Also you can't modify the imported pins & their data.

    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: large amount of pushpin creation optimization

    Hi Richard,

    you are right. but what about the LinkData method ?
    possible the limit is the same but data can be updated. however I never tryed it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Adding large amount of data to my map, what's the best way?
    By Candace in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 03-14-2006, 10:20 AM
  2. Territory Creation Customized & Flexible
    By Grapheous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 12-29-2004, 09:57 PM
  3. Territory Creation Customized & Flexible
    By Grapheous in forum Wish List
    Replies: 0
    Last Post: 12-29-2004, 09:55 PM
  4. Multiple route creation with c++
    By tanguy_laverdure in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-09-2004, 09:39 AM
  5. Is there any way to automate the creation of a Poc....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 07-17-2002, 12:28 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