|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.StreetViewService
public class StreetViewService
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 |
---|
protected StreetViewService()
Method Detail |
---|
public static StreetViewService create()
public final void getPanoramaById(java.lang.String pano, StreetViewService.GetPanoramaByIdCallback callback)
StreetViewPanoramaData
object. Pano ids are unique per panorama and stable for the lifetime
of a session, but are liable to change between sessions.
public final void getPanoramaByLocation(LatLng latlng, double radius, StreetViewService.Callback callback)
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |