On Apr 1, 11:57 am, Menster <[email protected]> wrote: > > But the first map.setCenter call is made in the intialise function > which happens before makePolyline is called, > and I have just added code to prevent makePolyline() from running if > panel is empty. > But, this thing is still not working
It works fine in Firefox now. It doesn't work in IE because you are still creating coordinates with Strings and not Numbers. I added parseFloat()s to function go() and line 86 where new GLatLng is used. The test page seems to work in IE after that. GLatLng is defined with two Numbers. The value of a textbox is a String; splitting Strings produces Strings. 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=en -~----------~----~----~----~------~----~------~--~---
