LIke you said: var d=window.content.document.body.innerHTML; Is the culprit. Use "document.body".
On Nov 7, 4:48 am, Esa <[email protected]> wrote: > On Nov 6, 7:16 pm, "Eric!!" <[email protected]> wrote: > > > var d=window.content.document.body.innerHTML; > > > Causes Google Chrome to abort the routine. I still don't have a work > > around, but it is progress. > > Chrome reports: > > "Cannot read property 'body' of undefined" > > meaning that window.content.document is undefined. No wonder to me > because I never seen such an object before. > > Why not try addDomListener() that is a cross browser method. > > google.maps.event.addDomListener(window, 'load', start_map); -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
