Groups > Microsoft > MapPoint > Re: How can I show the directions on a Polyline




How can I show the directions on a Polyline

How can I show the directions on a Polyline
Wed, 19 Mar 2008 08:45:32 +010
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 

Post Reply
Re: How can I show the directions on a Polyline
Wed, 19 Mar 2008 23:31:42 +010
On Wed, 19 Mar 2008 08:45:32 +0100, "Christian Freund"
<freundattsfminusdatentechnikdottnospamde> wrote:

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

"Directions" is a bit ambiguous in English and in the MapPoint context
as it
could mean "driving directions" - I guess your intended meaning is
"Fahrtrichtung" here?

If yes, here's an idea: indicate the direction using a pushpin placed at
strategic intervals? You could either use the 45° predefined symbols, or
design your own custom symbols with a finer rotation resolution.

   Regards,
   Gilles [MVP].

   (Please reply to the group, not via email.
   Find my MVP profile with past articles / downloads here: 
   http://www.gilleskohl.de/mvpprofile.htm)
Post Reply
about | contact