Follow us on GitHub

com.google.gwt.maps.client.streetview
Class StreetViewTileData

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.streetview.StreetViewTileData

public class StreetViewTileData
extends JavaScriptObject

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

StreetViewTileData

protected StreetViewTileData()
The properties of the tile set used in a Street View panorama. use newInstance();

Method Detail

newInstance

public static final StreetViewTileData newInstance()
creates The properties of the tile set used in a Street View panorama.


getTileUrl

public final String getTileUrl(String pano,
                               int zoom,
                               int tileX,
                               int tileY,
                               TileUrlHandler handler)
Gets the tile image URL for the specified tile.

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

setCenterHeading

public final void setCenterHeading(int centerHeading)
sets The heading (in degrees) at the center of the panoramic tiles.

Parameters:
centerHeading -

getCenterHeading

public final int getCenterHeading()
gets The heading (in degrees) at the center of the panoramic tiles.


setTileSize

public final void setTileSize(Size tileSize)
sets The size (in pixels) at which tiles will be rendered. This may not be the native tile image size.

Parameters:
tileSize -

getTileSize

public final Size getTileSize()
gets The size (in pixels) at which tiles will be rendered. This may not be the native tile image size.


setWorldSize

public final void setWorldSize(Size worldSize)
sets The size (in pixels) of the whole panorama's "world".

Parameters:
worldSize -

getWorldSize

public final Size getWorldSize()
gets The size (in pixels) of the whole panorama's "world".



Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.