mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
Google Maps: StreetViewService should be a class
This commit is contained in:
2
googlemaps/google.maps.d.ts
vendored
2
googlemaps/google.maps.d.ts
vendored
@@ -1123,7 +1123,7 @@ declare module google.maps {
|
||||
worldSize?: Size;
|
||||
}
|
||||
|
||||
export interface StreetViewService {
|
||||
export class StreetViewService {
|
||||
getPanoramaById(pano: string, callback: (streetViewPanoramaData: StreetViewPanoramaData, streetViewStatus: StreetViewStatus) => void );
|
||||
getPanoramaByLocation(latlng: LatLng, radius: number, callback: (streetViewPanoramaData: StreetViewPanoramaData, streetViewStatus: StreetViewStatus) => void );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user