diff --git a/types/google.maps/google.maps-tests.ts b/types/google.maps/google.maps-tests.ts index 3ad0b69062..2c7711986d 100644 --- a/types/google.maps/google.maps-tests.ts +++ b/types/google.maps/google.maps-tests.ts @@ -1,3 +1,3 @@ // No tests required for generated types -// Synced from: https://github.com/googlemaps/js-types/commit/5ae7b651aa36bb3b588cdb3f54a7b47ae634e2c7 +// Synced from: https://github.com/googlemaps/js-types/commit/9a624940d7a281dc31b7d911c061a1a1eef06b6d google.maps.Map; diff --git a/types/google.maps/index.d.ts b/types/google.maps/index.d.ts index 53bc64b891..cbe76af712 100644 --- a/types/google.maps/index.d.ts +++ b/types/google.maps/index.d.ts @@ -7938,7 +7938,8 @@ declare namespace google.maps.journeySharing { */ export interface AuthToken { /** - * The expiration time of this token, in seconds from token issuance. + * The expiration time in seconds. A token expires in this amount of time + * after fetching. */ expiresInSeconds: number; /** @@ -8074,7 +8075,10 @@ declare namespace google.maps.journeySharing { remainingDurationMillis: number|null; /** * The journey segments assigned to this delivery vehicle, starting from the - * vehicle's most recently reported location. + * vehicle's most recently reported location. This is only populated + * when the {@link google.maps.journeySharing.DeliveryVehicle} data object + * is provided through {@link + * google.maps.journeySharing.FleetEngineDeliveryVehicleLocationProvider}. */ remainingVehicleJourneySegments: google.maps.journeySharing.VehicleJourneySegment[]; @@ -8097,12 +8101,20 @@ declare namespace google.maps.journeySharing { * DeliveryVehicleStop type */ export interface DeliveryVehicleStop { + /** + * The location of the stop. + */ + plannedLocation: google.maps.LatLngLiteral|null; + /** + * The state of the stop. + */ + state: google.maps.journeySharing.DeliveryVehicleStopState|null; /** * The list of Tasks to be performed at this stop.
id:
* the ID of the task. extraDurationMillis: the extra time
* it takes to perform the task, in milliseconds. AdvancedMarkerElement to look empty.
* @defaultValue {@link google.maps.marker.PinElement.element}
*/
- content?: null|Element;
+ content?: null|Node;
/**
* If true, the AdvancedMarkerElement can be
* dragged. Note: AdvancedMarkerElement