MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




How to show the directions on a polyline

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006 Discussion

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 03-19-2008
Junior Member
White Belt
 
Join Date: Mar 2008
Posts: 2
How to show the directions on a polyline

Hi,

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
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 03-19-2008
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 713
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
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 03-19-2008
Junior Member
White Belt
 
Join Date: Mar 2008
Posts: 2
Re: How to show the directions on a polyline

Hello Richard,

as I said: The drawing of the Polyline is not the problem. The problem is, the to show the direction at the locations.

Christian.
__________________
Christian
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 03-19-2008
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 713
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 03-20-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 1,952
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.
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/how-show-directions-polyline-7324.html

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

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
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


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


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

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.


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