StreetviewSequence.js
StreetviewSequence可让您创建街景视图全景图和路线步进图像序列。
固定的全景向上看
var panorama = StreetviewSequence ( '#panorama' , {
duration : 1500 ,
location : new google . maps . LatLng ( 40.720032 , - 73.988354 ) ,
pitchSkewEnd : 90 ,
width : 585 ,
height : 325 ,
loop : true
} ) ;
panorama . done ( function ( player ) {
player . play ( ) ;
} ) ;
路线
var directionsService =