[Google Maps API v3] Re: Problems with polyline overlay.

2011-10-30 Thread CataPE
Rossko Thank you so much! Huge Life saver!!! Got my webpage running using the array solution! Actually I hadn't thought of that (obviously), and its SO much easier! On Oct 28, 11:42 pm, Rossko wrote: > Actually there is an intermediate way as well, requiring less of a re- > think: > You could

[Google Maps API v3] Re: Problems with polyline overlay.

2011-10-28 Thread Rossko
Actually there is an intermediate way as well, requiring less of a re- think: You could have your php write variable assignments - not function calls - into the page body. Easiest way to manage that is probably as elements of an array. Then add javascript to run after map initialization that will

[Google Maps API v3] Re: Problems with polyline overlay.

2011-10-28 Thread Rossko
> the error console keeps telling me that var poly is undefined. As in your thread in the other group, your inline code calls your addRuta() function while the webpage is loading. That fails, because no map or poly objects are yet intialized. That initializing takes place later, triggered by the