diff --git a/index.d.ts b/index.d.ts
index 0d833f5..77c9388 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -5114,6 +5114,7 @@ declare namespace google.maps {
placeId: string;
}
export interface PlacesLibrary {
+ AccessibilityOptions: typeof google.maps.places.AccessibilityOptions;
AddressComponent: typeof google.maps.places.AddressComponent;
Attribution: typeof google.maps.places.Attribution;
AuthorAttribution: typeof google.maps.places.AuthorAttribution;
@@ -12150,6 +12151,38 @@ declare namespace google.maps.marker {
}
}
declare namespace google.maps.places {
+ /**
+ * Access by calling `const {AccessibilityOptions} = await
+ * google.maps.importLibrary("places")`. See
+ * https://developers.google.com/maps/documentation/javascript/libraries.
+ */
+ export class AccessibilityOptions {
+ /**
+ * Whether a place has a wheelchair accessible entrance. Returns
+ * 'true' or 'false' if the value is known. Returns
+ * 'null' if the value is unknown.
+ */
+ hasWheelchairAccessibleEntrance: boolean | null;
+ /**
+ * Whether a place has wheelchair accessible parking. Returns 'true'
+ * or
+ * 'false' if the value is known. Returns 'null' if the
+ * value is unknown.
+ */
+ hasWheelchairAccessibleParking: boolean | null;
+ /**
+ * Whether a place has a wheelchair accessible restroom. Returns
+ * 'true' or 'false' if the value is known. Returns
+ * 'null' if the value is unknown.
+ */
+ hasWheelchairAccessibleRestroom: boolean | null;
+ /**
+ * Whether a place offers wheelchair accessible seating. Returns
+ * 'true' or 'false' if the value is known. Returns
+ * 'null' if the value is unknown.
+ */
+ hasWheelchairAccessibleSeating: boolean | null;
+ }
/**
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
*
@@ -12818,6 +12851,11 @@ declare namespace google.maps.places {
* https://developers.google.com/maps/documentation/javascript/libraries.
*/
constructor(options: google.maps.places.PlaceOptions);
+ /**
+ * Accessibility options of this Place. undefined
if the
+ * accessibility options data have not been called for from the server.
+ */
+ accessibilityOptions?: google.maps.places.AccessibilityOptions | null;
/**
* The collection of address components for this Place’s location. Empty
* object if there is no known address data. undefined
if the
@@ -13090,7 +13128,7 @@ declare namespace google.maps.places {
type: string;
}
/**
- * Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
+ * Available only in the v=beta channel: https://goo.gle/3oAthT3.
*
*
HTMLElement
subclass which
@@ -13109,7 +13147,7 @@ declare namespace google.maps.places {
implements google.maps.places.PlaceAutocompleteElementOptions
{
/**
- * Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
+ * Available only in the v=beta channel: https://goo.gle/3oAthT3.
*
* HTMLElement
subclass
@@ -13131,10 +13169,6 @@ declare namespace google.maps.places {
* country.
*/
componentRestrictions: google.maps.places.ComponentRestrictions | null;
- /**
- * The input element to show autocompletions for.
- */
- inputElement: HTMLInputElement;
/**
* A soft boundary or hint to use when searching for places.
*/
@@ -13158,8 +13192,12 @@ declare namespace google.maps.places {
* The name to be used for the input element. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name
* for details. Follows the same behavior as the name attribute for inputs.
+ * Note that this is the name that will be used when a form is submitted.
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
+ * for details.
*/
- name: string;
+ name: string | null;
/**
* A language identifier for the language in which the results should be
* returned, if possible. Results in the selected language may be given a
@@ -13190,7 +13228,7 @@ declare namespace google.maps.places {
types: string[] | null;
}
/**
- * Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
+ * Available only in the v=beta channel: https://goo.gle/3oAthT3.
*
* Options for constructing a PlaceAutocompleteElement.
*/
@@ -13200,10 +13238,6 @@ declare namespace google.maps.places {
* google.maps.places.PlaceAutocompleteElement.componentRestrictions}
*/
componentRestrictions?: google.maps.places.ComponentRestrictions | null;
- /**
- * The input element to show autocompletions for.
- */
- inputElement: HTMLInputElement;
/**
* See {@link google.maps.places.PlaceAutocompleteElement.locationBias}
*/