On Jul 24, 9:09 am, Niko <[email protected]> wrote: > Hi everyone, > > A problem happened recently within my page, I'm using GMap Api v2 and > a "g is undefined" error happens on page load. > It's a really old app I used to manipulates polygons coords and its > not optimised at all > but it used to work. > May someone have an idea? > here's my page:
http://evilfenril.free.fr/map3/localisation.php Have you tried reverting to an older version of the API? If 2.s works (or any version earlier than v2), that might get you working again. You don't declare any of your variables, so IE gets confused (it automatically creates a variable for each div and the div map variable doesn't have a setCenter method). You are also using the GMap (v1 compatibility) object rather than GMap2, don't know if that is a problem or not. -- Larry > > Thanks for your help. -- 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.
