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

java.lang.Object
  extended by com.google.gwt.maps.client.streetview.LatLngStreetviewCallback

public abstract class LatLngStreetviewCallback
extends java.lang.Object

An abstract class to be extended in order to use with StreetviewClient.getNearestPanoramaLatLng(LatLng, LatLngStreetviewCallback)


Constructor Summary
LatLngStreetviewCallback()
           
 
Method Summary
 void fire(LatLng point)
           
abstract  void onFailure()
          Called when StreetviewClient query fails.
abstract  void onSuccess(LatLng point)
          Called when StreetviewClient query finishes successfully.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatLngStreetviewCallback

public LatLngStreetviewCallback()
Method Detail

fire

public final void fire(LatLng point)

onFailure

public abstract void onFailure()
Called when StreetviewClient query fails.


onSuccess

public abstract void onSuccess(LatLng point)
Called when StreetviewClient query finishes successfully.

Parameters:
point - coordinates of the found panorama.