Merge commit 'upstream/master~250' into merge_7_25

This commit is contained in:
Ryan Cavanaugh
2016-07-26 18:03:56 -07:00
68 changed files with 3847 additions and 267 deletions

25
googlemaps/index.d.ts vendored
View File

@@ -1593,7 +1593,7 @@ declare namespace google.maps {
addressControl?: boolean;
addressControlOptions?: StreetViewAddressControlOptions;
clickToGo?: boolean;
disableDefaultUi?: boolean;
disableDefaultUI?: boolean;
disableDoubleClickZoom?: boolean;
enableCloseButton?: boolean;
fullscreenControl?: boolean;
@@ -1609,6 +1609,7 @@ declare namespace google.maps {
pov?: StreetViewPov;
scrollwheel?: boolean;
visible?: boolean;
zoom?: number;
zoomControl?: boolean;
zoomControlOptions?: ZoomControlOptions;
}
@@ -1650,7 +1651,29 @@ declare namespace google.maps {
worldSize?: Size;
}
export enum StreetViewPreference {
BEST,
NEAREST
}
export enum StreetViewSource {
DEFAULT,
OUTDOOR
}
export interface StreetViewLocationRequest {
location: LatLng|LatLngLiteral;
preference?: StreetViewPreference;
radius?: number;
source?: StreetViewSource;
}
export interface StreetViewPanoRequest {
pano: string;
}
export class StreetViewService {
getPanorama(request: StreetViewLocationRequest|StreetViewPanoRequest, cb: (data: StreetViewPanoramaData, status: StreetViewStatus) => void): void;
getPanoramaById(pano: string, callback: (streetViewPanoramaData: StreetViewPanoramaData, streetViewStatus: StreetViewStatus) => void): void;
getPanoramaByLocation(latlng: LatLng|LatLngLiteral, radius: number, callback: (streetViewPanoramaData: StreetViewPanoramaData, streetViewStatus: StreetViewStatus) => void ): void;
}