On Jun 9, 2:06 am, Keyvee <[email protected]> wrote: > > Has anyone experienced this in the past and found a way to work around > it? Right now if the GDirections query fails with a 604 error I plot > draw the polyline directly between the two cities, rather than having > it follow the road but this is not ideal.
That seems the best way to do it, unless you can find another directions provider which can cope with the road (and will allow you to display the route with the Google Maps API). If you're trapping 604s, then the code will cope with future extended capability, or even cope if direction-finding should degrade for some reason. But it's not just that the Highway has breaks in it on the map; directions aren't available in Colombia anyway. You can drive from El Bordo to Cangrejos -- or at least, the map shows a complete road -- but can't get directions. http://maps.google.com/maps?f=d&source=s_d&saddr=El+Bordo,+Cauca,+Colombia&daddr=Cangrejos,+Cauca,+Colombia&hl=en&geocode=&mra=ls&sll=1.913325,-77.161446&sspn=0.160585,0.220757&ie=UTF8&z=12 http://gmaps-samples.googlecode.com/svn/trunk/mapcoverage_filtered.html -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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?hl=en.
