Hello!

I'm trying to, create a PolyLine in Google Maps API v3.

I have a set of data that works, and one that it doesn't.
This one works:

> data2 = '[{"lat":"45.74917000000001","lng":" 
> 21.199520000000003"},{"lat":"45.74965","lng":" 21.20257"}]';
> //it works, I get the polyline
> var routePointsObject = jQuery.parseJSON(data2);//F: facem un test cu o 
> linie aiurea
>

This one does not. I have no idea what is the real difference and why it 
does not work.

> data2 = '[{"lat":"45,74521","lng":" 21,20206"},{"lat":"45,74609","lng":" 
> 21,20504"}]';
> //Too much recursion (Firebug) / Uncaught RangeError: Maximum call stack 
> size exceeded (Chrome)
> var routePointsObject = jQuery.parseJSON(data2);
>


Is there some rule for picking the coordinates? I just chose 2 points in 
Google Maps, in the same area with the ones that work.

Thank you,
F.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/zzmzfjR9oYwJ.
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