sure i skip some code <body onclick="test()"> </body>
on click event it works, i can add marker (no problem at all) but if on the body is written: <body> <p>test text</p> <script language="javascript"> test(); </script> </body> this function call makes error "map in null or not an object" sorry is more clear now? 2009/7/2 Rossko <[email protected]> > > > see the code below as example > > There are no onclick events in your code dump, it's useless for > investigation. > > If you'd like help, please help others to help you by reading and > following the "before you post" advice - > > http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines > and also see > > http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical > > > > -- Adriano Ellero [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
