javascript - How to turn camera smoothly on Google maps api? -


i following road directions street view. when make turning on road need somehow turn camera smoothly in street view heading road direction.

i use this:

panorama.setpov({pitch: 0, heading: newcomputedheading}); 

where panorama google.maps.streetviewpanorama object.

the problem jumps 20 or 10 or etc degrees in 1 go. want smooth camera turn old heading value new heading value.

any ideas?


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -