com.google.maps.gwt.client
Class StreetViewService

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.StreetViewService

public class StreetViewService
extends JavaScriptObject

A StreetViewService object performs searches for Street View data. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Nested Class Summary
static interface StreetViewService.Callback
          Callback type for handling asynchronous responses from getPanoramaByLocation.
static interface StreetViewService.GetPanoramaByIdCallback
          Callback type for handling asynchronous responses from getPanoramaById.
 
Constructor Summary
protected StreetViewService()
          Protected constructor avoids default public constructor.
 
Method Summary
static StreetViewService create()
           
 void getPanoramaById(java.lang.String pano, StreetViewService.GetPanoramaByIdCallback callback)
          Retrieves the data for the given pano id and passes it to the provided callback as a StreetViewPanoramaData object.
 void getPanoramaByLocation(LatLng latlng, double radius, StreetViewService.Callback callback)
          Retrieves the StreetViewPanoramaData for a panorama within a given radius of the given LatLng .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreetViewService

protected StreetViewService()
Protected constructor avoids default public constructor.

Method Detail

create

public static StreetViewService create()

getPanoramaById

public final void getPanoramaById(java.lang.String pano,
                                  StreetViewService.GetPanoramaByIdCallback callback)
Retrieves the data for the given pano id and passes it to the provided callback as a StreetViewPanoramaData object. Pano ids are unique per panorama and stable for the lifetime of a session, but are liable to change between sessions.


getPanoramaByLocation

public final void getPanoramaByLocation(LatLng latlng,
                                        double radius,
                                        StreetViewService.Callback callback)
Retrieves the StreetViewPanoramaData for a panorama within a given radius of the given LatLng . The StreetViewPanoramaData is passed to the provided callback. If the radius is less than 50 meters, the nearest panorama will be returned.