Hi there,

is there an easy way to optimize the waypoings using the Directions
class?
I know there is a loadFromWaypoints(waypoints:Array) method, however,
this method does not optimize the route.

I know the javascript API does optimize the route:

------------------------------------- START
----------------------------------------------------------------------------------------
http://code.google.com/apis/maps/documentation/javascript/services.html#Waypoints
-----------------------------------------------------------------------------------------------------------------------------------------
By default, the Directions service calculates a route through the
provided waypoints in their given order. Optionally, you may pass
optimizeWaypoints: true within the DirectionsRequest to allow the
Directions service to optimize the provided route by rearranging the
waypoints in a more efficient order. (This optimization is an
application of the Travelling Salesman Problem.) All waypoints must be
stopovers for the Directions service to optimize their route.
------------------------------------- END
-------------------------------------------------------------------------------------------

Is there any way to do that at all using the actionscript API? or
perhaps an extension class or something?

Many Thanks!

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