Class: GoogleStreetviewPanorama

PANOLENS. GoogleStreetviewPanorama


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
Source:

Methods


getGSVLoader()

Get GSV Loader
Source:
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
Source:

loadGSVLoader(panoId)

Load GSV Loader
Parameters:
Name Type Description
panoId string Gogogle Street View panorama id
Source:

onLoad(canvas)

This will be called when panorama is loaded
Parameters:
Name Type Description
canvas HTMLCanvasElement Canvas where the tiles have been drawn
Source:

setGSVLoader()

Set GSV Loader
Source:

setupGoogleMapAPI()

Setup Google Map API
Source: