Thanks Mr. Larry for your reply. Yes GDirections can skip unlocatable points. Then I may represent the way for these points as straight lines (or dashed straight lines).
I need this since We have a quota 15000 requests per day. Therefore I do not want to make individual requests for each pair. Thanks. On Jan 12, 12:27 am, "[email protected]" <[email protected]> wrote: > On Jan 11, 12:38 pm,emredagli<[email protected]> wrote: > > > > > Hii, > > > I try to find polylines by given waypoints. > > > But if one of the given waypoints can not calculated, error event is > > fired. > > I mean, > > > This working fine. load event is fired and I can get polyline by > > getPolyline method. > > But if I add > > > var toLatLon3 = 40+","+30; (In the point in Turkey.) > > > And load function is: > > dirndeneme.load("from: " + fromLatLon+ " to: " + toLatLon + " to: " > > + toLatLon2 + " to: " + toLatLon3, GDirectionsDenemeOption); > > > Because of last point, error event is fired and I can not get previous > > polylines. > > > Is it the case? Or is there a way to get previous (calculated) > > polylines? > > Yes. None of the polylines are returned if it can't locate any of the > destinations. > > > > > I think that GDirections can be calculate polylines even if there is > > point which can not be calculated. > > Why do you think that? Should it just skip the point it can't > locate? That is probably not desirable behavior. > > -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
