> Hi, > All of a sudden iam getting ofset width erros, iam not sure whee it > went worng .I checked my code.I didn't find anyhting > Please help me with this. > Iam thinking it is int he google code
I got the same problem as you. My code was working flawlessly and then, all of a suden it started throwing errors like this one. I currently dont have it online (working with a VMWare server) so I cant supply a link but I can describe how it happens. I got the gmap2 object loaded in a div inside a table loaded by ajax. The first time all works ok. but if I destroy the div loading new content and then try to reload the gmap reloading the div for the gmap object by ajax again) it throws this errors. THIS WAS WORKING fine in the previews api version. It's some change in the api code creating this error. The problem happen in function Pt() in <http://maps.google.com/intl/ en_ALL/mapfiles/150c/maps2.api/main.js> line 1417 1417: Zo.f=P;ok (Zo,Ot);Zo.prototype.Kp=P;Zo.prototype.lE=P;Zo.prototype.zx=P;Zo.prototype.W=P;hl (Zo,Ef,If);Zo.prototype.tb=function(){var a=Di("hmtctl_inline");return a?new K(a.offsetWidth ... The browser error is: offsetWidth is null or not an object --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
