|
Follow us on GitHub |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.streetview.StreetViewTileData
public class StreetViewTileData
The properties of the tile set used in a Street View panorama.
See StreetViewTileData API Doc
| Constructor Summary | |
|---|---|
protected |
StreetViewTileData()
The properties of the tile set used in a Street View panorama. |
| Method Summary | |
|---|---|
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". |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected StreetViewTileData()
| Method Detail |
|---|
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()
|
Follow us on GitHub |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||