public class StreetViewTileData extends JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
StreetViewTileData()
The properties of the tile set used in a Street View panorama.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCenterHeading()
gets The heading (in degrees) at the center of the panoramic tiles.
|
Size |
getTileSize()
gets The size (in pixels) at which tiles will be rendered.
|
String |
getTileUrl(String pano,
int zoom,
int tileX,
int tileY,
TileUrlHandler handler)
Gets the tile image URL for the specified tile.
|
Size |
getWorldSize()
gets The size (in pixels) of the whole panorama's "world".
|
static StreetViewTileData |
newInstance()
creates The properties of the tile set used in a Street View panorama.
|
void |
setCenterHeading(int centerHeading)
sets The heading (in degrees) at the center of the panoramic tiles.
|
void |
setTileSize(Size tileSize)
sets The size (in pixels) at which tiles will be rendered.
|
void |
setWorldSize(Size worldSize)
sets The size (in pixels) of the whole panorama's "world".
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toStringprotected StreetViewTileData()
public static final StreetViewTileData newInstance()
public final String getTileUrl(String pano, int zoom, int tileX, int tileY, TileUrlHandler handler)
pano - is the panorama ID of the Street View tile.zoom - is the zoom level of the tile.tileX - is the x-coordinate of the tile.tileY - is the y-coordinate of the tile.handler - public final void setCenterHeading(int centerHeading)
centerHeading - public final int getCenterHeading()
public final void setTileSize(Size tileSize)
tileSize - public final Size getTileSize()
public final void setWorldSize(Size worldSize)
worldSize - public final Size getWorldSize()
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.