Merge pull request #1362 from bicycle-nerd/google-map-searchbox

Added the SearchBox class and SearchBoxOptions interface to the google maps places namespace
This commit is contained in:
Basarat Ali Syed
2013-11-29 16:58:54 -08:00
+11
View File
@@ -1422,6 +1422,17 @@ declare module google.maps {
DISTANCE,
PROMINENCE
}
export class SearchBox {
constructor(inputField: HTMLInputElement, opts?: SearchBoxOptions);
getBounds(): LatLngBounds;
setBounds(bounds: LatLngBounds): void;
getPlaces(): PlaceResult[];
}
export interface SearchBoxOptions {
bounds: LatLngBounds;
}
export interface TextSearchRequest {
bounds: LatLngBounds;