JDillon522
JDillon522

Reputation: 19666

Google Maps - Switching between Street View Panorama locations smoothly

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.

Upvotes: 12

Views: 2220

Answers (1)

ratiorick
ratiorick

Reputation: 736

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.

Upvotes: 2

Related Questions