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
Post a Comment