Marker bounce has issues in chrome when cleartype is disabled

116 views
Skip to first unread message

Robert Aspinall

unread,
Jun 12, 2012, 10:06:46 AM6/12/12
to google-map...@googlegroups.com
Hello,

I've got a repeatable problem with the marker bounce animation in Google Chrome, when cleartype has been disabled.

https://google-developers.appspot.com/maps/documentation/javascript/examples/marker-animations

Is an excellent example.  Disable cleartype (Start -> Settings -> Control Panel -> Adjust ClearType Text -> Uncheck the "Turn on ClearType" box)

When viewing the above link in Google Chrome 19.0.1084.56 m on Windows 7 64-bit, watch the map credit text (lower right corner) carefully when clicking the marker to start and stop the bouncing animation.  It fuzzes momentarily.  In addition, clicking the start and stop the bouncing several times will eventually break the animation to the point that the marker will only bounce once when clicked, instead of bouncing forever.

This problem isn't only aesthetic, because when the browser gets into this state, scroll windows stop responding to scroll changes until the mouse cursor is placed over the scrollable area.  For an example on our application, please go to (in chrome, with cleartype disabled):

http://tidesandcurrents.noaa.gov/map/index_bounce_problem.shtml?type=Active+Stations&region=Virginia

Mouse over to the scroll bar in the station list, and try dragging the scrollbar.  The list will not update until you mouse over the station list.  This behavior goes away if the marker bounce animation is removed from the application.

Compare this behavior to:

http://tidesandcurrents.noaa.gov/map/index.shtml?type=Active+Stations&region=Virginia

where the bounce behavior has been disabled for Google Chrome.

Any help you can give would be greatly appreciated.
Reply all
Reply to author
Forward
0 new messages