Community of VE/MapPoint Users and Developers
This is a discussion on How to show the directions on a polyline within the MapPoint 2006 Discussion forums, part of the Map Forums category; Hi, I have to show a driving route of a vehicle based on latitude and longitude. There are about 8000 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| How to show the directions on a polyline I have to show a driving route of a vehicle based on latitude and longitude. There are about 8000 Points to show in the map. ( it's only one day to show ) I use getlocation with lon and lat to get the direction-array and then addpolyline to show the line. Thats not the Problem, but I have to show the driving-direction at some points ( e.g. in a distance of 300 m ). I tried to use add line with line.endArrowhead, but this is very very slow. it is about 3 minutes of time to schow the route. Is there any fast solution to show the directions? It can be shown at every point too. ( if there is any property to set at the directions ) Thanks in advance Regards, Christian
__________________ Christian |
| ||||
| Re: How to show the directions on a polyline
I think you probably need to rethink what you are doing - 8000 locations is a lot! Adding them all with an array is the right thing btw. Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools Buy MapPoint 2006 today: http://www.mapping-tools.com/mappoint2006 |
| ||||
| Re: How to show the directions on a polyline
As I said, I think your polyline has too many points - that is why it is taking so long to add the arrows! Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools Buy MapPoint 2006 today: http://www.mapping-tools.com/mappoint2006 |
| |||
| Re: How to show the directions on a polyline
Hi, You don't need 8000 positions on the map. Just draw what is in the visible area of the map. Also if user is strong zoomed out then more and more positions become visible, but even then you don't have to draw them all because it would not be recognizable. Of course you have to recalculate what to draw after every zoom / pan of the user. but there are the events for.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| ||||
| Posted By | For | Type | Date | |
| North Dakota Map and Map of North Dakota - MapPoint State Map Gallery - MP2K Magazine | This thread | Refback | 03-19-2008 07:53 PM | |
| MapPoint Automation with C/C++ - Part 2 - MapPoint Articles - MP2K Magazine | This thread | Refback | 03-19-2008 10:05 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Determine if a polyline is closed? | Anonymous | MapPoint 2006 Discussion | 4 | 03-29-2005 11:37 AM |
| Polyline Size | Anonymous | MapPoint 2006 Discussion | 4 | 09-29-2004 06:08 AM |
| Problem: Pushpin -> Polyline | Michelin | MapPoint 2006 Discussion | 1 | 02-26-2004 12:31 PM |
| Polyline (English or French) | Anonymous | MapPoint 2006 Discussion | 1 | 03-04-2003 11:58 AM |
| Bug on Polyline and line | Maverick | MapPoint 2006 Discussion | 0 | 02-28-2003 06:10 AM |
Newcastle Flights
For details on Newcastle flights visit Holiday Hypermarket. We don't just book holidays, we provide useful information about airports too.
Turkey Holidays
Find and book Turkey Holidays with Travel Counsellors. Holiday destinations around the world including Turkey.
Portugal Holidays
Lisbon is perhaps Europe's most pleasant and affordable city. Check out the fantastic architecture, delicious seafood and non-stop night-life. Book Portugal Holidays with us.
Holidays in Cuba
Holidays in Cuba are an eclectic mix of golden beaches, rich, colourful scenery and a proud cultural heritage. Book a break in Cuba now!
Cheap Greece Holidays
For cheap Greece holidays make sure you know when to book and who to book with. Visit ulookubook.com to get help with doing both of those things. Why not time your visit with a Greek festival?
Holiday Comparison
We can help you with holiday comparison when you check out the options at Travel.co.uk
Holidays in Lanzarote
A quality luxury hotel awaits your patronage in the Canary Islands. Get information on holidays in Lanzarote at On The Beach.