问题
I have a simple map proof of concept where, similar to maps.google.com I have a slider at the bottom of the page with street views / panos. When you click on the image it takes you to the same street view.
How can I achieve the same kind of transition effect used by google when they transition from one street view to another? Its really smooth avoids a lot of the jerky tile rerendering I'm currently experiencing.
Heres the GitHub Repo if it'll help.
回答1:
Have you tried maybe making 2 map containers, then load the other one and fade in while fading out the other an toggle back and forth when changing them.
来源:https://stackoverflow.com/questions/29943112/google-maps-switching-between-street-view-panorama-locations-smoothly