var bits = thestring.split(/,\s*/); point = new google.maps.LatLng(parseFloat(bits[0]),parseFloat(bits[1]));
On Sun, Mar 31, 2013 at 11:05 PM, CauĂȘ Jannini <[email protected]>wrote: > I've been looking a lot for it, but I still couldn't do that successfully. > I discovered how to do the reverse process with LatLng method String > toString(), but how do I do the opposite? > > Thanks a lot!! > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API V2" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
