Community of VE/MapPoint Users and Developers
This is a discussion on Suspend drawing map within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, Is it possible to suspend the drawing of a map? My application is the following. I have a map ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Suspend drawing map Is it possible to suspend the drawing of a map? My application is the following. I have a map with all my vehicles on it (pushpins). Now it should also be possible to show only the vehicles of specific departments. When I change the department I do the following. I delete all the current pushpins and add all the new ones. The problem with this is that each pushpin is drawn seperatly + the most important and actually the biggest problem, is that there is a zoom to each pushpin. Ofcourse I already checked that I haven't programmed a zoom. Many thanks in advance. |
| |||
| Re: Suspend drawing map
1) What method are you using to add the pushpins? You are probably calling a geocode method (FindResults/FindAddressResults/GetLocation) over an iteration by looping or For..Next. You'll gain a lot of speed by first writing the new vehicle locations to a temporary file, and then using a bulk import (i.e. DataSets.ImportData) method to add them to the map. After the import you can iterate through the returned dataset to set pushpin properties such as BalloonState, etc. 2) You can minimize the mappoint windowstate during the pushpin drawing to avoid successive wm_paints. 3) Adding a pushpin does NOT actualy force/generate a ZoomTo, Union or GoTo. It must be somewhere in your code. However, using the DataSets.Import will make this point moot anyway. HTH Paul |
| |||
| Re: Suspend drawing map
Unfortunately, all the methods I've found for reverse-geocoding in MapPoint do require a zoom/goto call. You could offload this portion to a second instance of mappoint (non-visible) and then pass the results back to your own instance. |
![]() |
| ||||
| Posted By | For | Type | Date | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 01-18-2007 09:40 AM | |
| Determing the Time Zone in MapPoint - MapPoint Articles - MP2K Magazine | This thread | Refback | 01-16-2007 05:06 PM | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 01-10-2007 01:51 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drawing route as I go. | z_darius | MapPoint 2006/2009 Discussion | 6 | 02-10-2006 08:57 AM |
| Drawing / Zoom | Anonymous | MapPoint 2006/2009 Discussion | 1 | 04-04-2005 06:59 AM |
| Drawing Tools | uspickle | MapPoint 2006/2009 Discussion | 2 | 01-13-2004 08:51 AM |
| Free Drawing on the Map | Fisherman´s Friend | MapPoint 2006/2009 Discussion | 3 | 12-02-2003 09:10 AM |
| Anyway to suspend redraws? | Dean | MapPoint 2006/2009 Discussion | 1 | 09-03-2002 12:13 PM |
Late Deal Ski Holidays
Book late deal ski holidays for great value at Holiday Hypermarket. Our ski holidays search makes it easy to find a late deal to suit you.
Honeymoon Holidays
Book your Honeymoon holiday with Travel Counsellors. A personal advisor will help you plan the perfect honeymoon holiday.
Cape Town Flights
Book Cape Town flights through dealchecker.co.uk to get a great deal. Cape Town has fantastic weather and a wide range of activities to keep you busy.
Cancun Holidays
Cancun holidays offer beautiful scenery, calm waters and plenty of shopping. Get a taste of the good life while on holiday in Cancun.
Cyprus
Before visiting Cyprus, make sure you are well informed to make the most of your holiday. Online at ulookubook.com you check out our useful travel guides. Find out all about the Cyprus nightlife, shopping, eating and customs.
Holiday
For the holiday of your life, that is easy to plan, visit Travel.co.uk to see all the options.
Lanzarote Holidays
Visit the easternmost island of the archipelago! Book Lanzarote holidays at On The Beach!