Skip to content

Commit 6db928c

Browse files
🤖 Merge PR DefinitelyTyped#67209 chore: sync updates to google.maps by @googlemaps-bot
Co-authored-by: copybara-service[bot] <copybara-service[bot]@users.noreply.github.com>
1 parent d4015df commit 6db928c

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// No tests required for generated types
2-
// Synced from: https://github.com/googlemaps/js-types/commit/a1cd810c7b388c0cd0eb7935ecf1bbd947f52e37
2+
// Synced from: https://github.com/googlemaps/js-types/commit/1548d63a2e626dc8eab1c3052c65f90bd8ab50f7
33
google.maps.Map;

types/google.maps/index.d.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5692,6 +5692,15 @@ declare namespace google.maps {
56925692
* Otherwise, it will be displayed separately.
56935693
*/
56945694
position?: google.maps.ControlPosition|null;
5695+
/**
5696+
* Specifies the sources of panoramas to search. This allows a restriction
5697+
* to search for just official Google panoramas for example. Setting
5698+
* multiple sources will be evaluated as the intersection of those sources.
5699+
* Note: the {@link google.maps.StreetViewSource.OUTDOOR} source is not
5700+
* supported at this time.
5701+
* @defaultValue [{@link google.maps.StreetViewSource.DEFAULT}]
5702+
*/
5703+
sources?: Iterable<google.maps.StreetViewSource>|null;
56955704
}
56965705
/**
56975706
* A layer that illustrates the locations where Street View is available.
@@ -5786,8 +5795,16 @@ declare namespace google.maps {
57865795
* Specifies the source of panoramas to search. This allows a restriction to
57875796
* search for just outdoor panoramas for example.
57885797
* @defaultValue {@link google.maps.StreetViewSource.DEFAULT}
5798+
* @deprecated Use <code>sources</code> instead.
57895799
*/
57905800
source?: google.maps.StreetViewSource|null;
5801+
/**
5802+
* Specifies the sources of panoramas to search. This allows a restriction
5803+
* to search for just outdoor panoramas for example. Setting multiple
5804+
* sources will be evaluated as the intersection of those sources.
5805+
* @defaultValue [{@link google.maps.StreetViewSource.DEFAULT}]
5806+
*/
5807+
sources?: Iterable<google.maps.StreetViewSource>|null;
57915808
}
57925809
/**
57935810
* A <code>StreetViewPanoRequest</code> is used with the
@@ -6189,6 +6206,10 @@ declare namespace google.maps {
61896206
* specific sources.
61906207
*/
61916208
DEFAULT = 'default',
6209+
/**
6210+
* Limits Street View searches to official Google collections.
6211+
*/
6212+
GOOGLE = 'google',
61926213
/**
61936214
* Limits Street View searches to outdoor collections. Indoor collections
61946215
* are not included in search results. Note also that the search only

0 commit comments

Comments
 (0)