@@ -3101,6 +3101,10 @@ google.maps.FeatureType = {
3101
3101
* Indicates a postal code as used to address postal mail within the country.
3102
3102
*/
3103
3103
POSTAL_CODE: 'POSTAL_CODE',
3104
+ /**
3105
+ * Indicates a school district.
3106
+ */
3107
+ SCHOOL_DISTRICT: 'SCHOOL_DISTRICT',
3104
3108
};
3105
3109
3106
3110
/**
@@ -7225,8 +7229,10 @@ google.maps.Place.prototype.query;
7225
7229
* An interface representing a feature with a place ID which includes features
7226
7230
* of type {@link google.maps.FeatureType.ADMINISTRATIVE_AREA_LEVEL_1}, {@link
7227
7231
* google.maps.FeatureType.ADMINISTRATIVE_AREA_LEVEL_2}, {@link
7228
- * google.maps.FeatureType.COUNTRY}, {@link google.maps.FeatureType.LOCALITY},
7229
- * and {@link google.maps.FeatureType.POSTAL_CODE}.
7232
+ * google.maps.FeatureType.COUNTRY}, {@link
7233
+ * google.maps.FeatureType.LOCALITY}, {@link
7234
+ * google.maps.FeatureType.POSTAL_CODE}, and {@link
7235
+ * google.maps.FeatureType.SCHOOL_DISTRICT}.
7230
7236
* @extends {google.maps.Feature}
7231
7237
* @record
7232
7238
*/
@@ -11953,11 +11959,15 @@ google.maps.journeySharing.JourneySharingMapView.prototype.element;
11953
11959
google.maps.journeySharing.JourneySharingMapView.prototype.enableTraffic;
11954
11960
11955
11961
/**
11956
- * This Field is read-only. A source of tracked locations to be shown in the
11957
- * tracking map view.
11958
- * @type {!google.maps.journeySharing.LocationProvider}
11962
+ * This field is read-only. Sources of tracked locations to be shown in the
11963
+ * tracking map view. To add or remove location providers, use the {@link
11964
+ * google.maps.journeySharing.JourneySharingMapView.addLocationProvider}
11965
+ * and {@link
11966
+ * google.maps.journeySharing.JourneySharingMapView.removeLocationProvider}
11967
+ * methods.
11968
+ * @type {?Array<!google.maps.journeySharing.LocationProvider>}
11959
11969
*/
11960
- google.maps.journeySharing.JourneySharingMapView.prototype.locationProvider ;
11970
+ google.maps.journeySharing.JourneySharingMapView.prototype.locationProviders ;
11961
11971
11962
11972
/**
11963
11973
* This Field is read-only. The map object contained in the map view.
@@ -11996,6 +12006,16 @@ google.maps.journeySharing.JourneySharingMapView.prototype.takenRoutePolylines;
11996
12006
google.maps.journeySharing.JourneySharingMapView.prototype
11997
12007
.takenRoutePolylineSetup;
11998
12008
12009
+ /**
12010
+ * This Field is read-only. A source of tracked locations to be shown in the
12011
+ * tracking map view.
12012
+ * @type {?google.maps.journeySharing.LocationProvider}
12013
+ * @deprecated Use {@link
12014
+ * google.maps.journeySharing.JourneySharingMapView.locationProviders}
12015
+ * instead.
12016
+ */
12017
+ google.maps.journeySharing.JourneySharingMapView.prototype.locationProvider;
12018
+
11999
12019
/**
12000
12020
* Configures options for a destination location marker. Invoked whenever a new
12001
12021
* destination marker is rendered. <br><br>If specifying a function, the
@@ -12232,6 +12252,26 @@ google.maps.journeySharing.JourneySharingMapView.prototype.vehicleMarkers;
12232
12252
*/
12233
12253
google.maps.journeySharing.JourneySharingMapView.prototype.waypointMarkers;
12234
12254
12255
+ /**
12256
+ * Adds a location provider to the map view. If the location provider is already
12257
+ * added, no action is performed.
12258
+ * @param {!google.maps.journeySharing.LocationProvider} locationProvider the
12259
+ * location provider to add.
12260
+ * @return {undefined}
12261
+ */
12262
+ google.maps.journeySharing.JourneySharingMapView.prototype.addLocationProvider =
12263
+ function(locationProvider) {};
12264
+
12265
+ /**
12266
+ * Removes a location provider from the map view. If the location provider is
12267
+ * not already added to the map view, no action is performed.
12268
+ * @param {!google.maps.journeySharing.LocationProvider} locationProvider the
12269
+ * location provider to remove.
12270
+ * @return {undefined}
12271
+ */
12272
+ google.maps.journeySharing.JourneySharingMapView.prototype
12273
+ .removeLocationProvider = function(locationProvider) {};
12274
+
12235
12275
/**
12236
12276
* Options for the map view.
12237
12277
* @record
@@ -12274,11 +12314,11 @@ google.maps.journeySharing.JourneySharingMapViewOptions.prototype
12274
12314
google.maps.journeySharing.JourneySharingMapViewOptions.prototype.element;
12275
12315
12276
12316
/**
12277
- * A source of tracked locations to be shown in the tracking map view. Required .
12278
- * @type {!google.maps.journeySharing.LocationProvider}
12317
+ * Sources of tracked locations to be shown in the tracking map view. Optional .
12318
+ * @type {?Array< !google.maps.journeySharing.LocationProvider> }
12279
12319
*/
12280
12320
google.maps.journeySharing.JourneySharingMapViewOptions.prototype
12281
- .locationProvider ;
12321
+ .locationProviders ;
12282
12322
12283
12323
/**
12284
12324
* Map options passed into the google.maps.Map constructor.
@@ -12304,6 +12344,16 @@ google.maps.journeySharing.JourneySharingMapViewOptions.prototype.mapOptions;
12304
12344
google.maps.journeySharing.JourneySharingMapViewOptions.prototype
12305
12345
.takenRoutePolylineSetup;
12306
12346
12347
+ /**
12348
+ * A source of tracked locations to be shown in the tracking map view. Optional.
12349
+ * @type {?google.maps.journeySharing.LocationProvider}
12350
+ * @deprecated Use {@link
12351
+ * google.maps.journeySharing.JourneySharingMapViewOptions.locationProviders}
12352
+ * instead.
12353
+ */
12354
+ google.maps.journeySharing.JourneySharingMapViewOptions.prototype
12355
+ .locationProvider;
12356
+
12307
12357
/**
12308
12358
* Configures options for a destination location marker. Invoked whenever a new
12309
12359
* destination marker is rendered. <br><br>If specifying a function, the
0 commit comments