I also checked the proper order of coordinates: my setCenter location is 37.37, -79.65 and all of my coordinates are something like 37.88599, -76.00275, etc...
UPDATE: I checked my database and I apparently had multiple sets of polylines in there. (Must've run the import script I wrote multiple times or something.) I cleared out the extra ones and now I'm NOT getting a Javascript error, but I'm not getting a polygon or polyline either. What's wrong, here? Also, apparently there ARE issues with some of my polylines having the wrong number of levels encoded. I'm using the PHP script located at the link below for encoding (although I replaced "1e5" with pow(10, 5) just to see if it would fix the problem). Are there any known bugs with this script? http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/PolylineEncoder.php.txt One can test just decoding the polyline itself at this link: http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/decode.html A combination of testing with that one and the other one showed me that I had some incorrectly encoded levels. Damon --~--~---------~--~----~------------~-------~--~----~ 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=en -~----------~----~----~----~------~----~------~--~---
