On Dec 2, 12:04 pm, Whops <[email protected]> wrote: > I mean if I'm drawing polyline between "Berazino" City and "Minsk" > City every thing is OK, But while I'm drawing the line between > "istanbul" and Minsk polyline doesn't go over route.
Would you expect otherwise? It appears you are generating your polyline from the "overview_path", defined as: "The path is simplified in order to make it suitable in contexts where a small number of vertices is required" To get a better "fit" you would need to drill down to the DirectionsStep path http://code.google.com/intl/en/apis/maps/documentation/javascript/reference.html#DirectionsStep. Be aware that you could be using a very large number of vertices, which will negatively impact performance. (Your display will be slow.) > > You can check my code here :http://pastebin.com/tpvMr8nm > Posting a LINK to a working site that demonstrates your problem is much more helpful. You just posted a raw listing of your code. The more you do to make it easy to see your problem, the more likely you are to receive help. Good luck! - Jeff -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
