Skip to content

Commit e9e0cf9

Browse files
chore: sync changes for Maps JS API v3.54.7a.
PiperOrigin-RevId: 569321701
1 parent e92ec73 commit e9e0cf9

File tree

1 file changed

+45
-5
lines changed

1 file changed

+45
-5
lines changed

index.d.ts

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,6 +1738,10 @@ declare namespace google.maps {
17381738
* country.
17391739
*/
17401740
POSTAL_CODE = 'POSTAL_CODE',
1741+
/**
1742+
* Indicates a school district.
1743+
*/
1744+
SCHOOL_DISTRICT = 'SCHOOL_DISTRICT',
17411745
}
17421746
/**
17431747
* Options for the rendering of the fullscreen control.
@@ -4908,8 +4912,10 @@ declare namespace google.maps {
49084912
* An interface representing a feature with a place ID which includes features
49094913
* of type {@link google.maps.FeatureType.ADMINISTRATIVE_AREA_LEVEL_1}, {@link
49104914
* google.maps.FeatureType.ADMINISTRATIVE_AREA_LEVEL_2}, {@link
4911-
* google.maps.FeatureType.COUNTRY}, {@link google.maps.FeatureType.LOCALITY},
4912-
* and {@link google.maps.FeatureType.POSTAL_CODE}.
4915+
* google.maps.FeatureType.COUNTRY}, {@link
4916+
* google.maps.FeatureType.LOCALITY}, {@link
4917+
* google.maps.FeatureType.POSTAL_CODE}, and {@link
4918+
* google.maps.FeatureType.SCHOOL_DISTRICT}.
49134919
*/
49144920
export interface PlaceFeature extends google.maps.Feature {
49154921
/**
@@ -9159,6 +9165,13 @@ declare namespace google.maps.journeySharing {
91599165
*/
91609166
constructor(options:
91619167
google.maps.journeySharing.JourneySharingMapViewOptions);
9168+
/**
9169+
* Adds a location provider to the map view. If the location provider is
9170+
* already added, no action is performed.
9171+
* @param locationProvider the location provider to add.
9172+
*/
9173+
addLocationProvider(locationProvider:
9174+
google.maps.journeySharing.LocationProvider): void;
91629175
/**
91639176
* Configures options for an anticipated route polyline. Invoked whenever a
91649177
* new anticipated route polyline is rendered. <br><br>If specifying a
@@ -9226,8 +9239,20 @@ declare namespace google.maps.journeySharing {
92269239
/**
92279240
* This Field is read-only. A source of tracked locations to be shown in the
92289241
* tracking map view.
9242+
* @deprecated Use {@link
9243+
* google.maps.journeySharing.JourneySharingMapView.locationProviders}
9244+
* instead.
9245+
*/
9246+
locationProvider: google.maps.journeySharing.LocationProvider|null;
9247+
/**
9248+
* This field is read-only. Sources of tracked locations to be shown in the
9249+
* tracking map view. To add or remove location providers, use the {@link
9250+
* google.maps.journeySharing.JourneySharingMapView.addLocationProvider}
9251+
* and {@link
9252+
* google.maps.journeySharing.JourneySharingMapView.removeLocationProvider}
9253+
* methods.
92299254
*/
9230-
locationProvider: google.maps.journeySharing.LocationProvider;
9255+
locationProviders: google.maps.journeySharing.LocationProvider[]|null;
92319256
/**
92329257
* This Field is read-only. The map object contained in the map view.
92339258
*/
@@ -9287,6 +9312,13 @@ declare namespace google.maps.journeySharing {
92879312
pingMarkerSetup: google.maps.journeySharing.MarkerSetupOptions|
92889313
((a: google.maps.journeySharing.DefaultMarkerSetupOptions) =>
92899314
google.maps.journeySharing.MarkerSetupOptions);
9315+
/**
9316+
* Removes a location provider from the map view. If the location provider
9317+
* is not already added to the map view, no action is performed.
9318+
* @param locationProvider the location provider to remove.
9319+
*/
9320+
removeLocationProvider(
9321+
locationProvider: google.maps.journeySharing.LocationProvider): void;
92909322
/**
92919323
* Configures options for a successful task location marker. Invoked
92929324
* whenever a new successful task marker is rendered. <br><br>If specifying
@@ -9513,9 +9545,17 @@ declare namespace google.maps.journeySharing {
95139545
element: Element;
95149546
/**
95159547
* A source of tracked locations to be shown in the tracking map view.
9516-
* Required.
9548+
* Optional.
9549+
* @deprecated Use {@link
9550+
* google.maps.journeySharing.JourneySharingMapViewOptions.locationProviders}
9551+
* instead.
9552+
*/
9553+
locationProvider: google.maps.journeySharing.LocationProvider|null;
9554+
/**
9555+
* Sources of tracked locations to be shown in the tracking map view.
9556+
* Optional.
95179557
*/
9518-
locationProvider: google.maps.journeySharing.LocationProvider;
9558+
locationProviders: google.maps.journeySharing.LocationProvider[]|null;
95199559
/**
95209560
* Map options passed into the google.maps.Map constructor.
95219561
*/

0 commit comments

Comments
 (0)