Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.41 KB

File metadata and controls

51 lines (31 loc) · 1.41 KB

See html formatted version

StreetViewTileData interface

google.maps.StreetViewTileData interface

The properties of the tile set used in a Street View panorama.

Methods

undefined

getTileUrl(pano, tileZoom, tileX, tileY)

Parameters: 

  • pano:  string
  • tileZoom:  number
  • tileX:  number
  • tileY:  number

Return Value:  string

Gets the tile image URL for the specified tile.
This is a custom method which you must implement, to supply your custom tiles. The API calls this method, supplying the following parameters:
pano is the panorama ID of the Street View tile.
tileZoom is the zoom level of the tile.
tileX is the x-coordinate of the tile.
tileY is the y-coordinate of the tile.
Your custom method must return the URL for the tile image.

Properties

undefined

Type:  number

The heading (in degrees) at the center of the panoramic tiles.

undefined

Type:  Size

The size (in pixels) at which tiles will be rendered.

undefined

Type:  Size

The size (in pixels) of the whole panorama's "world".