Hi,

I am getting a script error saying "B.polyline is undefined" in all
the browsers (in chrome the message is "Can not read property 'levels'
of undefined") when I try to plot a direction in Google Map.

My request data is

{
        origin: "E1 1JY, LONDON",
        destination: "E1 6AD,LONDON",
        travelMode: "DRIVING",
        waypoints: [ {location: "E1 5NF,LONDON"}, {location: "E1
6HQ,LONDON"}, {location: "E1 6AO,LONDON"} ]
}

The direction response status is coming as "OK". Then I use
setDirections() API to draw the direction. At that time I am getting
this error.

Can anyone tell me what is this problem?

Best Regards,
Sarath

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

Reply via email to