Skip to content

Commit 125f20a

Browse files
Update Maps JavaScript API typings for 3.55.11
PiperOrigin-RevId: 605727973
1 parent ab6a515 commit 125f20a

File tree

1 file changed

+46
-12
lines changed

1 file changed

+46
-12
lines changed

index.d.ts

Lines changed: 46 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5114,6 +5114,7 @@ declare namespace google.maps {
51145114
placeId: string;
51155115
}
51165116
export interface PlacesLibrary {
5117+
AccessibilityOptions: typeof google.maps.places.AccessibilityOptions;
51175118
AddressComponent: typeof google.maps.places.AddressComponent;
51185119
Attribution: typeof google.maps.places.Attribution;
51195120
AuthorAttribution: typeof google.maps.places.AuthorAttribution;
@@ -12150,6 +12151,38 @@ declare namespace google.maps.marker {
1215012151
}
1215112152
}
1215212153
declare namespace google.maps.places {
12154+
/**
12155+
* Access by calling `const {AccessibilityOptions} = await
12156+
* google.maps.importLibrary("places")`. See
12157+
* https://developers.google.com/maps/documentation/javascript/libraries.
12158+
*/
12159+
export class AccessibilityOptions {
12160+
/**
12161+
* Whether a place has a wheelchair accessible entrance. Returns
12162+
* 'true' or 'false' if the value is known. Returns
12163+
* 'null' if the value is unknown.
12164+
*/
12165+
hasWheelchairAccessibleEntrance: boolean | null;
12166+
/**
12167+
* Whether a place has wheelchair accessible parking. Returns 'true'
12168+
* or
12169+
* 'false' if the value is known. Returns 'null' if the
12170+
* value is unknown.
12171+
*/
12172+
hasWheelchairAccessibleParking: boolean | null;
12173+
/**
12174+
* Whether a place has a wheelchair accessible restroom. Returns
12175+
* 'true' or 'false' if the value is known. Returns
12176+
* 'null' if the value is unknown.
12177+
*/
12178+
hasWheelchairAccessibleRestroom: boolean | null;
12179+
/**
12180+
* Whether a place offers wheelchair accessible seating. Returns
12181+
* 'true' or 'false' if the value is known. Returns
12182+
* 'null' if the value is unknown.
12183+
*/
12184+
hasWheelchairAccessibleSeating: boolean | null;
12185+
}
1215312186
/**
1215412187
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1215512188
*
@@ -12818,6 +12851,11 @@ declare namespace google.maps.places {
1281812851
* https://developers.google.com/maps/documentation/javascript/libraries.
1281912852
*/
1282012853
constructor(options: google.maps.places.PlaceOptions);
12854+
/**
12855+
* Accessibility options of this Place. <code>undefined</code> if the
12856+
* accessibility options data have not been called for from the server.
12857+
*/
12858+
accessibilityOptions?: google.maps.places.AccessibilityOptions | null;
1282112859
/**
1282212860
* The collection of address components for this Place’s location. Empty
1282312861
* object if there is no known address data. <code>undefined</code> if the
@@ -13090,7 +13128,7 @@ declare namespace google.maps.places {
1309013128
type: string;
1309113129
}
1309213130
/**
13093-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
13131+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1309413132
*
1309513133
* <ul>
1309613134
* <li>PlaceAutocompleteElement is an <code>HTMLElement</code> subclass which
@@ -13109,7 +13147,7 @@ declare namespace google.maps.places {
1310913147
implements google.maps.places.PlaceAutocompleteElementOptions
1311013148
{
1311113149
/**
13112-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
13150+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1311313151
*
1311413152
* <ul>
1311513153
* <li>PlaceAutocompleteElement is an <code>HTMLElement</code> subclass
@@ -13131,10 +13169,6 @@ declare namespace google.maps.places {
1313113169
* country.
1313213170
*/
1313313171
componentRestrictions: google.maps.places.ComponentRestrictions | null;
13134-
/**
13135-
* The input element to show autocompletions for.
13136-
*/
13137-
inputElement: HTMLInputElement;
1313813172
/**
1313913173
* A soft boundary or hint to use when searching for places.
1314013174
*/
@@ -13158,8 +13192,12 @@ declare namespace google.maps.places {
1315813192
* The name to be used for the input element. See <a
1315913193
* href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name</a>
1316013194
* for details. Follows the same behavior as the name attribute for inputs.
13195+
* Note that this is the name that will be used when a form is submitted.
13196+
* See <a
13197+
* href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form</a>
13198+
* for details.
1316113199
*/
13162-
name: string;
13200+
name: string | null;
1316313201
/**
1316413202
* A language identifier for the language in which the results should be
1316513203
* returned, if possible. Results in the selected language may be given a
@@ -13190,7 +13228,7 @@ declare namespace google.maps.places {
1319013228
types: string[] | null;
1319113229
}
1319213230
/**
13193-
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
13231+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
1319413232
*
1319513233
* Options for constructing a PlaceAutocompleteElement.
1319613234
*/
@@ -13200,10 +13238,6 @@ declare namespace google.maps.places {
1320013238
* google.maps.places.PlaceAutocompleteElement.componentRestrictions}
1320113239
*/
1320213240
componentRestrictions?: google.maps.places.ComponentRestrictions | null;
13203-
/**
13204-
* The input element to show autocompletions for.
13205-
*/
13206-
inputElement: HTMLInputElement;
1320713241
/**
1320813242
* See {@link google.maps.places.PlaceAutocompleteElement.locationBias}
1320913243
*/

0 commit comments

Comments
 (0)