spacer1
spacer2 1_1 1_2
2_1
 Subscribe
 The MP2K Update!
 
 
 
 Magazine
Front Cover
What's New
Articles
News
Sample Data
Gallery
Advertise
About
 Features
MapPoint 2013
Press Releases
MapPoint Forums
Companies
Link to MP2Kmag
Wish List
MapPoint Trial
Authors
 Earlier Content
Past News Items
Past What's New Announcements
 Sponsors
 Order

MapPoint 2013

Programming MapPoint in .NET

MapPoint Book

  Spatial Community
SVG Tutorials
MapPoint

Map Visitors

  MAPPOINT Q & A  

Top | Post New Question | Read All | MP2K Asks Microsoft

802 Doud - July 23, 2002

I am using an ADO recordset to create pushpins and the problem is that the time to display them all is too long. Is there any way to create them directly into a MapPoint dataset (as the ImportData method easily do) and only then, have them displayed? (The article n°46 from Walt Cygan seems to tell me there is no way to do that, but still...)

Answers:
July 25, 2002
Would objMap.visible = false help?

July 26, 2002
The Visible property does not exist on Map object. I tried on the MapPointControl (mp.visible=false) but it is not faster. I am still working on it! The only way seems to build a temporary access table on which you can apply the importData method... Doud

July 30, 2002
Make that objMap.Application.Visible = False

October 27, 2002
The way I've done it (about 1000 pushpins a second) is to write a temporary file of the pushpin locations and then use the ImportData method: - Create .tmp file - get ado recordset - output name, lat, long of each record into temporary file - destroy references to recordset - import file into dataset (map.Datasets.ImportData) - set the properties for the dataset - delete the .tmp file This method is slower if you don't have many pushpins (<20 I think) Hope that helps. Harry.

Post New Answer / Follow-up


Google
 
MP2Kmag Internet


 Recent Discussion
 Resources


Want Your Site To Appear Here?

   © 1999-2012 MP2K. Questions and comments to: website@mp2kmag.com
  Microsoft and MapPoint 2002/2004/2006/2009/2010/2011/2013 are either trademarks or registered trademarks of Microsoft.