Hi Griffo

I would but I found my solution not to be accurate. I was sorting the
array on distance but the route steps distance is rounded so over a
long distance the points get out of sync so I am still open to
suggestions.
If possible at all.

Andy

On Feb 24, 3:27 am, Griffo <[email protected]> wrote:
> Why don't you post your full solution to help anyone who has the same
> problem. :)
>
> On Feb 21, 9:16 pm, andy <[email protected]> wrote:
>
>
>
> > Actually sorted this one by sorting an array
>
> > On Feb 21, 4:27 pm, andy <[email protected]> wrote:
>
> > > I am not sure if this is possible. I want to merge the polyline and
> > > route steps so they are in sequence. ie so I can loop through the
> > > points below in order. Thanks in advance
>
> > > var dir:Directions = event.directions;
> > > var directionsPolyline:IPolyline = dir.createPolyline();
>
> > > var len:Number = directionsPolyline.getVertexCount();
> > > for (var x = 1; x < len-1; x++)
> > > {
> > >     var step:LatLng = directionsPolyline.getVertex(x);
>
> > > }
>
> > > var numSteps:uint = route.numSteps;
> > > for (var s:Number = 0 ; s < numSteps ; s++ ) {
> > >    var step:Step = route.getStep(s);
>
> > > }- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to