List of usage examples for com.google.gwt.maps.client.streetview PanoramaByLocationHandler PanoramaByLocationHandler
PanoramaByLocationHandler
From source file:com.google.gwt.maps.testing.client.maps.StreetViewSideBySideMapWidget.java
License:Apache License
/** * get pano data for nearest position/*www . ja va 2 s . co m*/ * * @param latlng */ private void processClick(final LatLng latlng) { double radius = 50; service.getPanoramaByLocation(latlng, radius, new PanoramaByLocationHandler() { public void onCallback(StreetViewPanoramaData data, StreetViewStatus status) { processPanoSearch(latlng, data, status); } }); }