In reviewing the source more closely, I can see that the div element
which fails to be appended to document.body is created within the same
function as the attempt to append.
Again, the fatal error is reported as "Result of expression
'n[ii]' [null] is not an object.".
Here is my understanding of what's occurring in the google.maps
function "wl" leading up to the error:
1. Under certain conditions, the function will create, style and
append a div. The condition appears to be related to browser
capability. The tested object includes a property with the user-agent
string "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us)
AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/
533.19.4", and a substring of this ("533.19" -- the version) is
compared numerically to 526 in the condition.
2. Having satisfied the condition, the block executes:
- creates a div
- sets its style.display to "none"
- sets style.height and style.width to "0px"
- sets style.overflow to "hidden"
- appends to document.body (where the error occurs)
--
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.