On Feb 3, 7:00 am, conualfy <
florin.arj...@gmail.com> wrote:
> 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"}]';