Getting Index Error with Map crashing after zooming out

29 views
Skip to first unread message

mceper

unread,
Mar 4, 2011, 11:10:29 AM3/4/11
to google-map...@googlegroups.com
Hello,

We're seeing an odd javascript bug triggered within the maps API and not sure what could be causing it.
Go here: http://www.projectnoah.org/spottings/5412271 and try to zoom out the map on the right. On Chrome, Safari, and Firefox the map freezes up.

On Chrome while loading it throws the error: INDEX_SIZE_ERR: DOM Exception 1

Any ideas would be appreciated!
Thanks,
Martin

Andrew Leach

unread,
Mar 4, 2011, 11:23:31 AM3/4/11
to google-map...@googlegroups.com

This would appear to be relevant:
http://stackoverflow.com/questions/2923564/uncaught-error-index-size-err

...but I can't help with the fix. I *guess* the API is falling foul of
Chrome's Javascript speed and it ends up trying to do something with
an image which is not completely loaded.

mceper

unread,
Mar 4, 2011, 2:17:26 PM3/4/11
to google-map...@googlegroups.com
Thanks Andrew, yea I just noticed in the latest notes that they added some canvas marker drawing, so I specified loading the API version 3.3 and now the bug is gone. Maybe it's an issue with the new canvas implementation.

-Martin
Reply all
Reply to author
Forward
0 new messages