public class StreetViewService extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
StreetViewService()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
void |
getPanoramaById(String pano,
PanoramaIdHandler handler)
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,
PanoramaByLocationHandler handler)
Retrieves the StreetViewPanoramaData for a panorama within a given radius of the given LatLng.
|
static StreetViewService |
newInstnace()
A StreetViewService object performs searches for Street View data.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final StreetViewService newInstnace()
public final void getPanoramaById(String pano, PanoramaIdHandler handler)
pano
- handler
- public final void getPanoramaByLocation(LatLng latlng, double radius, PanoramaByLocationHandler handler)
latlng
- radius
- handler
- Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.