Hi Efries, I imagine you've seen this already but if not, here's where I think it would fit in the Flash maps API http://code.google.com/apis/maps/documentation/flash/services.html#TravelModes here's a list of all the supported cities for biking directions: http://maps.google.com/support/bin/static.py?page=guide.cs&guide=21670&topic=21671&answer=144349&printable=1
Alternative to waiting for this to be included in the flash geocoding objects you can probably just use a HTTPService and with the url property populated with a urlencoded version of the directions request, something like: http://maps.googleapis.com/maps/api/directions/xml?origin=Chicago,IL&destination=Los+Angeles,CA&waypoints=Joplin,MO|Oklahoma+City,OK&sensor=false&mode=bicycling More on that API here: http://code.google.com/apis/maps/documentation/directions/#XML also setting the resultFormat on the HTTPService object to e4x will setup the results for easy parsing using the special e4x operators (dot dot, parenthesis, etc.) Looking at the XML results in Chrome it's easy to expand and collapse nodes to understand the structure you'll need to navigate with e4x, generally speaking it looks like you'd do event.result..leg then for each of those objects do someObj..step to get down to the fundamental properties of each step that you'd want to display (duration distance, start and end etc.). Shaun -- 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.
