Community of VE/MapPoint Users and Developers
This is a discussion on Drawing a large number of pushpins within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, i'm using a faunction to draw a set of pushpins in this way: Code: foreach(DataRow dr in DataSet.Rows) { ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| i'm using a faunction to draw a set of pushpins in this way: Code: foreach(DataRow dr in DataSet.Rows)
{
MapPoint.Location loc = this.mMap.GetLocation(Lat, Lon, 1);
MapPoint.Pushpin pushpin = this.mMap.AddPushpin(loc,"");
pushpin.Name = Name;
pushpin.MoveTo(SP);
}
The problem is that this drawing can be operated on large numbers of pushpins (7000-20000) and the time to wait is very long. Someone have solved this problem in other ways? Regards, Gianmaria |
| |||
| Re: Drawing a large number of pushpins |
| |||
| Re: Drawing a large number of pushpins
Hi Mike, thanks for your answer. I've already used this importi way.. creating a CVS file.. it works fine but dont fit my needs. Every Pushpin i have to draw have a name and a custom symbol too. Any idea? |
| |||
| Re: Drawing a large number of pushpins
No. I have to wait for the code loop through all pins, too. Another one for the wish-list ... |
| |||
| Re: Drawing a large number of pushpins
Hi, what if you just draw the pushpins in view ? It will take some calculations but not impossible...
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| drawing, large, number, pushpins |
| ||||
| Posted By | For | Type | Date | |
| Merging Multiple Routes - MapPoint Articles - MP2K Magazine | This thread | Refback | 08-25-2007 06:27 AM | |
| Using Virtual Earth in a Vista Gadget - MapPoint Articles - MP2K Magazine | This thread | Refback | 08-20-2007 03:16 AM | |
| MP2K Update Archives - MP2K Magazine | This thread | Refback | 08-16-2007 10:36 PM | |
| MapPoint User Community - MP2K Magazine | This thread | Refback | 08-15-2007 10:54 PM | |
| Microsoft MapPoint 2006 - MP2K Magazine | This thread | Refback | 08-14-2007 03:34 PM | |
| Spatial Data Importer Contest Submission - MP2K Magazine | This thread | Refback | 08-13-2007 06:45 AM | |
| MapPoint Help - MP2K Magazine | This thread | Refback | 08-13-2007 06:08 AM | |
| MapPoint Help - MP2K Magazine | This thread | Refback | 08-13-2007 05:20 AM | |
| Virtual Earth: Frequently Asked Questions — July 2005 - MapPoint Articles - MP2K Magazine | This thread | Refback | 08-12-2007 07:59 PM | |
| MapPoint Download - MP2K Magazine | This thread | Refback | 08-11-2007 02:02 PM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Printing a large Map?!?!?! | Anonymous | MapPoint 2006/2009 Discussion | 6 | 10-24-2007 11:05 AM |
| Load/Render large number of pushpins | Varrus | MapPoint 2006/2009 Discussion | 4 | 04-27-2007 03:40 PM |
| number of pushpins of mappoint | Anonymous | MapPoint 2006/2009 Discussion | 2 | 08-05-2004 03:59 PM |
| Max number of Pushpins / Your suggestion? | Anonymous | MapPoint 2006/2009 Discussion | 4 | 05-20-2004 07:33 PM |
| Hello. We currently have large-format printing ca.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 12-12-2001 12:51 PM |