mozilla/webmaker-core

Add a "maxed out zoom animation" to indicate max zoom has been reached.

開放

#95 建立於 2015年7月14日

 (0 則留言) (0 個反應) (0 位負責人)JavaScript (31 個分叉)auto 404
enhancementfeedbackhelp wanted

倉庫指標

星標
 (63 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

This issue has been migrated from mozilla/webmaker-android#1797.

It was originally written by flukeout on Mon May 11 2015 and had the following description:

I think on either end of the zoom spectrum we should add a little bounce to indicate that you can't go further. I can provide detailed spec for this but something to this effect:

  • Put map in fully zoomed out state
  • Attempt to zoom out more
  • The map will zoom just a tiny bit more out but will stop after that even if you continue zooming
  • When you release your fingers the map will bounce back to the fully zoomed out state

I think these 'rubber boundaries' will help users realize that they're at the max zoom level. Right now there is just a hard stop and I find myself trying to zoom out beyond it just thinking my gestures aren't registering.

**@**vazquez Thoughts?

貢獻者指南