001 package com.google.gwt.maps.client.streetview;
002
003 /**
004 * Retrieves {@link StreetViewPanoramaData}
005 */
006 public interface PanoramaByLocationHandler {
007
008 /**
009 * 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.
010 * @param data
011 * @param status
012 */
013 public void onCallback(StreetViewPanoramaData data, StreetViewStatus status);
014
015 }