MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




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 2006/2009 Discussion category; Hi everybody ! I'm building an application in wich I'm loading a large amount of objects from a CVS file ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion > Development

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-03-2007
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 12-04-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: large amount of pushpin creation optimization

Hi,

If you have so mutch data then the fastes way is to use ImportData method.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 12-04-2007
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 776
Blog Entries: 4
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
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 12-07-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/large-amount-pushpin-creation-optimization-6836.html

Posted By For Type Date
Using MapPoint In Delphi - MapPoint Articles - MP2K Magazine This thread Refback 12-04-2007 03:39 AM
The Magazine for MapPoint - MP2K Magazine This thread Refback 12-03-2007 11:21 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Adding large amount of data to my map, what's the best way? Candace MapPoint 2006/2009 Discussion 4 03-14-2006 10:20 AM
Territory Creation – Customized & Flexible Grapheous MapPoint 2006/2009 Discussion 0 12-29-2004 09:57 PM
Territory Creation – Customized & Flexible Grapheous Wish List 0 12-29-2004 09:55 PM
Multiple route creation with c++ tanguy_laverdure MapPoint 2006/2009 Discussion 1 03-09-2004 09:39 AM
Is there any way to automate the creation of a Poc.... Anonymous MapPoint 2006/2009 Discussion 2 07-17-2002 12:28 PM


All times are GMT -5. The time now is 10:36 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Ski Holidays Canada
For superb slopes book ski holidays to Canada today. Offering stunning views and beautiful scenery, Canada is deservingly rated amongst the premier destinations for cheap ski holidays.

Best Travel Agent
Travel Counsellors has been named the UK's Best Travel Agent at the Guardian Unlimited Travel awards.

Jamaica Holiday
Fancy a Jamaica Holiday? Then visit dealchecker.co.uk and find out what the big deal is. Book a bargain when you book online.

Holidays to St Lucia
Holidays to St Lucia will leave you smiling. The spectacular scenery and the warmth of the locals make holidays to St Lucia unforgettable.

Cheap Balearics Holidays
Cheap Balearics holidays are available if you know when to book and who to book with. The Balearics have many fascinating places to visit all year round. The partying never stops.

Cheap Inclusive
Make use of our service at Travel.co.uk to help you to research cheap inclusive holidays.

Fuerteventura Holidays
Visit one of the closest Canary Islands to Africa! Book Fuerteventura holidays at On The Beach!


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