2013-07-11 55 views
1

当在StreetView上导航时,Google会对正在呈现的图像应用一种效果,以便在之间平滑地进行切换。看到下面的图像。第二个显示正在应用的效果。Google StreetView平滑导航

Image 1 - Just before effect being applied Image 2 - Effect being applied Image 3 - Just after effect applied

所以,我的问题是: 我怎么能应用在我的应用程序这个同样的效果? 非常感谢!

回答

0

我真的想解决这个问题,所以我做了概念

https://jsfiddle.net/SaulBurgos/k0k5h7uu/4/

.widget-scene-canvas { 
     transition: 1s -webkit-filter linear,transform 1s; 
    } 

    .googleAnimation { 
    filter: blur(1rem); 
    transform: scale(1.5); 
    } 
的一点点证明

我不知道该怎么做,当点击箭头或触摸手机时开始转换。

任何人都可以改进此代码吗?