On Mar 13, 6:37 am, Sarath K S <[email protected]> wrote:
> I have also tried using google.maps,DirectionsTravelMode.DRIVING. But
> no luck.
> And also if I doesn't specify preserveViewport in
> DirectionsRendererOptions,
> then it gives a script error "a is null or not an object" at an
> earlier stage.
>
> But this works perfectly fine when I go to google maps site.
>
> And also is there any limit on the number of wayPoints we can give in
> a request.
> When I tried with more than 13, I was getting status as
> "UNKNOWN_ERROR"

I suspect you are exceeding the browser URL length limitations.

V3 uses a very verbose URL.  See:

    http://www.polyarc.us/routes

V2 uses a much more concise URL accommodating many more waypoints.

> My client requirement is that he should be able to give the locations
> he visited on a particular date.
> Then my application should plot the direction for this route.
>
> Thanks & 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