On Nov 13, 10:18 pm, twitchylegs <[email protected]> wrote: > > **But, If you replace the occurrences of a single backslash character > ("\") to two backslash characters ("\\") in the points data, the > problem is fixed.**
This is an issue with Javascript and how it represents strings. In some circumstances a backslash is really just a backslash. In other circumstances, \ is an escape character, and to get a real backslash you need to escape it: \\ Larry's utility is strictly correct, but you can't just plug that string of characters into a literal string. However you can use it as- is in a textbox. See http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/pitfalls.html Andrew -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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-api?hl=.
