new GoogleStreetviewPanorama(panoId [, radius])
Google streetview panorama
How to get Panorama ID
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
panoId |
string | Panorama id from Google Streetview | ||
radius |
number |
<optional> |
5000 | The minimum radius for this panoram |
Methods
-
getGSVLoader()
-
Get GSV Loader
Returns:
GSV Loader instance- Type
- object
-
load(panoId)
-
Load Google Street View by panorama id
Parameters:
Name Type Description panoId
string Gogogle Street View panorama id -
loadGSVLoader(panoId)
-
Load GSV Loader
Parameters:
Name Type Description panoId
string Gogogle Street View panorama id -
onLoad(canvas)
-
This will be called when panorama is loaded
Parameters:
Name Type Description canvas
HTMLCanvasElement Canvas where the tiles have been drawn -
setGSVLoader()
-
Set GSV Loader
-
setupGoogleMapAPI()
-
Setup Google Map API