|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.maps.client.streetview.StreetviewClient
public class StreetviewClient
A class to perform searches for Street View data based on parameters that are passed to its methods.
Nested Class Summary | |
---|---|
static class |
StreetviewClient.ReturnValue
An enum equivalents for return codes returned by StreetviewData.getCode() . |
Constructor Summary | |
---|---|
StreetviewClient()
Creates a new instance of StreetviewClient class. |
Method Summary | |
---|---|
void |
getNearestPanorama(LatLng latLng,
DataStreetviewCallback callback)
Retrieves the data for the nearest panorama to a given LatLng and
passes it to the provided callback as a StreetviewData object. |
void |
getNearestPanoramaLatLng(LatLng latLng,
LatLngStreetviewCallback callback)
Finds the LatLng of the nearest panorama to a given point and
passes it to the provided callback. |
void |
getPanoramaById(java.lang.String panoId,
DataStreetviewCallback callback)
Retrieves the data for the given panorama id and passes it to the provided callback as a StreetviewData object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreetviewClient()
StreetviewClient
class.
Method Detail |
---|
public void getNearestPanorama(LatLng latLng, DataStreetviewCallback callback)
LatLng
and
passes it to the provided callback as a StreetviewData
object.
latLng
- the geographical coordinatescallback
- the callback to fire when the query returnspublic void getNearestPanoramaLatLng(LatLng latLng, LatLngStreetviewCallback callback)
LatLng
of the nearest panorama to a given point and
passes it to the provided callback.
latLng
- the geographical coordinatescallback
- the callback to fire when the query returnspublic void getPanoramaById(java.lang.String panoId, DataStreetviewCallback callback)
StreetviewData
object. Ids are unique per panorama
and stable for the lifetime of a session, but are liable to change between
sessions.
panoId
- unique panorama idcallback
- the callback to fire when the query returns
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |