Skip to content

Commit 4c3ca0d

Browse files
chore: sync changes for Maps JS API v3.52.5.
PiperOrigin-RevId: 517155521
1 parent 6fe457f commit 4c3ca0d

File tree

1 file changed

+128
-34
lines changed

1 file changed

+128
-34
lines changed

index.d.ts

Lines changed: 128 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,24 @@ declare namespace google.maps {
378378
}
379379
}
380380
declare namespace google.maps {
381-
interface CoreLibrary {}
381+
interface CoreLibrary {
382+
ControlPosition: typeof google.maps.ControlPosition;
383+
event: typeof google.maps.event;
384+
LatLng: typeof google.maps.LatLng;
385+
LatLngAltitude: typeof google.maps.LatLngAltitude;
386+
LatLngBounds: typeof google.maps.LatLngBounds;
387+
MapsNetworkError: typeof google.maps.MapsNetworkError;
388+
MapsNetworkErrorEndpoint: typeof google.maps.MapsNetworkErrorEndpoint;
389+
MapsRequestError: typeof google.maps.MapsRequestError;
390+
MapsServerError: typeof google.maps.MapsServerError;
391+
MVCArray: typeof google.maps.MVCArray;
392+
MVCObject: typeof google.maps.MVCObject;
393+
Point: typeof google.maps.Point;
394+
Settings: typeof google.maps.Settings;
395+
Size: typeof google.maps.Size;
396+
SymbolPath: typeof google.maps.SymbolPath;
397+
UnitSystem: typeof google.maps.UnitSystem;
398+
}
382399
}
383400
declare namespace google.maps {
384401
/**
@@ -2153,7 +2170,10 @@ declare namespace google.maps {
21532170
}
21542171
}
21552172
declare namespace google.maps {
2156-
interface DrawingLibrary {}
2173+
interface DrawingLibrary {
2174+
DrawingManager: typeof google.maps.drawing.DrawingManager;
2175+
OverlayType: typeof google.maps.drawing.OverlayType;
2176+
}
21572177
}
21582178
declare namespace google.maps {
21592179
/**
@@ -2193,7 +2213,10 @@ declare namespace google.maps {
21932213
}
21942214
}
21952215
declare namespace google.maps {
2196-
interface ElevationLibrary {}
2216+
interface ElevationLibrary {
2217+
ElevationService: typeof google.maps.ElevationService;
2218+
ElevationStatus: typeof google.maps.ElevationStatus;
2219+
}
21972220
}
21982221
declare namespace google.maps {
21992222
/**
@@ -2448,14 +2471,6 @@ declare namespace google.maps {
24482471
* Indicates a second-order civil entity below the country level.
24492472
*/
24502473
ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',
2451-
/**
2452-
* Indicates a third-order civil entity below the country level.
2453-
*/
2454-
ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',
2455-
/**
2456-
* Indicates a fourth-order civil entity below the country level.
2457-
*/
2458-
ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',
24592474
/**
24602475
* Indicates the national political entity.
24612476
*/
@@ -2464,19 +2479,11 @@ declare namespace google.maps {
24642479
* Indicates an incorporated city or town political entity.
24652480
*/
24662481
LOCALITY = 'LOCALITY',
2467-
/**
2468-
* Indicates a named neighborhood.
2469-
*/
2470-
NEIGHBORHOOD = 'NEIGHBORHOOD',
24712482
/**
24722483
* Indicates a postal code as used to address postal mail within the
24732484
* country.
24742485
*/
24752486
POSTAL_CODE = 'POSTAL_CODE',
2476-
/**
2477-
* Indicates a first-order civil entity below a locality.
2478-
*/
2479-
SUBLOCALITY_LEVEL_1 = 'SUBLOCALITY_LEVEL_1',
24802487
}
24812488
}
24822489
declare namespace google.maps {
@@ -2796,7 +2803,11 @@ declare namespace google.maps {
27962803
}
27972804
}
27982805
declare namespace google.maps {
2799-
interface GeocodingLibrary {}
2806+
interface GeocodingLibrary {
2807+
Geocoder: typeof google.maps.Geocoder;
2808+
GeocoderLocationType: typeof google.maps.GeocoderLocationType;
2809+
GeocoderStatus: typeof google.maps.GeocoderStatus;
2810+
}
28002811
}
28012812
declare namespace google.maps {
28022813
interface GeometryLibrary {
@@ -3213,7 +3224,20 @@ declare namespace google.maps {
32133224
/**
32143225
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
32153226
*/
3216-
interface JourneySharingLibrary {}
3227+
interface JourneySharingLibrary {
3228+
AutomaticViewportMode:
3229+
typeof google.maps.journeySharing.AutomaticViewportMode;
3230+
DeliveryVehicleStopState:
3231+
typeof google.maps.journeySharing.DeliveryVehicleStopState;
3232+
FleetEngineServiceType:
3233+
typeof google.maps.journeySharing.FleetEngineServiceType;
3234+
FleetEngineShipmentLocationProvider:
3235+
typeof google.maps.journeySharing.FleetEngineShipmentLocationProvider;
3236+
FleetEngineTripLocationProvider:
3237+
typeof google.maps.journeySharing.FleetEngineTripLocationProvider;
3238+
JourneySharingMapView:
3239+
typeof google.maps.journeySharing.JourneySharingMapView;
3240+
}
32173241
}
32183242
declare namespace google.maps {
32193243
/**
@@ -4824,7 +4848,33 @@ declare namespace google.maps {
48244848
}
48254849
}
48264850
declare namespace google.maps {
4827-
interface MapsLibrary {}
4851+
interface MapsLibrary {
4852+
BicyclingLayer: typeof google.maps.BicyclingLayer;
4853+
Circle: typeof google.maps.Circle;
4854+
Data: typeof google.maps.Data;
4855+
FeatureType: typeof google.maps.FeatureType;
4856+
GroundOverlay: typeof google.maps.GroundOverlay;
4857+
ImageMapType: typeof google.maps.ImageMapType;
4858+
InfoWindow: typeof google.maps.InfoWindow;
4859+
KmlLayer: typeof google.maps.KmlLayer;
4860+
KmlLayerStatus: typeof google.maps.KmlLayerStatus;
4861+
Map: typeof google.maps.Map;
4862+
MapTypeControlStyle: typeof google.maps.MapTypeControlStyle;
4863+
MapTypeId: typeof google.maps.MapTypeId;
4864+
MapTypeRegistry: typeof google.maps.MapTypeRegistry;
4865+
MaxZoomService: typeof google.maps.MaxZoomService;
4866+
MaxZoomStatus: typeof google.maps.MaxZoomStatus;
4867+
OverlayView: typeof google.maps.OverlayView;
4868+
Polygon: typeof google.maps.Polygon;
4869+
Polyline: typeof google.maps.Polyline;
4870+
Rectangle: typeof google.maps.Rectangle;
4871+
RenderingType: typeof google.maps.RenderingType;
4872+
StrokePosition: typeof google.maps.StrokePosition;
4873+
StyledMapType: typeof google.maps.StyledMapType;
4874+
TrafficLayer: typeof google.maps.TrafficLayer;
4875+
TransitLayer: typeof google.maps.TransitLayer;
4876+
WebGLOverlayView: typeof google.maps.WebGLOverlayView;
4877+
}
48284878
}
48294879
declare namespace google.maps {
48304880
/**
@@ -5198,7 +5248,13 @@ declare namespace google.maps {
51985248
}
51995249
}
52005250
declare namespace google.maps {
5201-
interface MarkerLibrary {}
5251+
interface MarkerLibrary {
5252+
AdvancedMarkerView: typeof google.maps.marker.AdvancedMarkerView;
5253+
Animation: typeof google.maps.Animation;
5254+
CollisionBehavior: typeof google.maps.CollisionBehavior;
5255+
Marker: typeof google.maps.Marker;
5256+
PinView: typeof google.maps.marker.PinView;
5257+
}
52025258
}
52035259
declare namespace google.maps {
52045260
/**
@@ -5624,13 +5680,8 @@ declare namespace google.maps {
56245680
* An interface representing a feature with a place ID which includes features
56255681
* of type {@link google.maps.FeatureType.ADMINISTRATIVE_AREA_LEVEL_1}, {@link
56265682
* google.maps.FeatureType.ADMINISTRATIVE_AREA_LEVEL_2}, {@link
5627-
* google.maps.FeatureType.ADMINISTRATIVE_AREA_LEVEL_3}, {@link
5628-
* google.maps.FeatureType.ADMINISTRATIVE_AREA_LEVEL_4}, {@link
5629-
* google.maps.FeatureType.COUNTRY}, {@link
5630-
* google.maps.FeatureType.LOCALITY}, {@link
5631-
* google.maps.FeatureType.NEIGHBORHOOD}, {@link
5632-
* google.maps.FeatureType.POSTAL_CODE}, and {@link
5633-
* google.maps.FeatureType.SUBLOCALITY_LEVEL_1}.
5683+
* google.maps.FeatureType.COUNTRY}, {@link google.maps.FeatureType.LOCALITY},
5684+
* and {@link google.maps.FeatureType.POSTAL_CODE}.
56345685
*/
56355686
interface PlaceFeature extends google.maps.Feature {
56365687
/**
@@ -5651,7 +5702,27 @@ declare namespace google.maps {
56515702
}
56525703
}
56535704
declare namespace google.maps {
5654-
interface PlacesLibrary {}
5705+
interface PlacesLibrary {
5706+
AddressComponent: typeof google.maps.places.AddressComponent;
5707+
Attribution: typeof google.maps.places.Attribution;
5708+
Autocomplete: typeof google.maps.places.Autocomplete;
5709+
AutocompleteService: typeof google.maps.places.AutocompleteService;
5710+
AutocompleteSessionToken:
5711+
typeof google.maps.places.AutocompleteSessionToken;
5712+
BusinessStatus: typeof google.maps.places.BusinessStatus;
5713+
OpeningHours: typeof google.maps.places.OpeningHours;
5714+
OpeningHoursPeriod: typeof google.maps.places.OpeningHoursPeriod;
5715+
OpeningHoursPoint: typeof google.maps.places.OpeningHoursPoint;
5716+
Photo: typeof google.maps.places.Photo;
5717+
PhotoAttribution: typeof google.maps.places.PhotoAttribution;
5718+
Place: typeof google.maps.places.Place;
5719+
PlacesService: typeof google.maps.places.PlacesService;
5720+
PlacesServiceStatus: typeof google.maps.places.PlacesServiceStatus;
5721+
PlusCode: typeof google.maps.places.PlusCode;
5722+
RankBy: typeof google.maps.places.RankBy;
5723+
Review: typeof google.maps.places.Review;
5724+
SearchBox: typeof google.maps.places.SearchBox;
5725+
}
56555726
}
56565727
declare namespace google.maps {
56575728
/**
@@ -6222,7 +6293,19 @@ declare namespace google.maps {
62226293
}
62236294
}
62246295
declare namespace google.maps {
6225-
interface RoutesLibrary {}
6296+
interface RoutesLibrary {
6297+
DirectionsRenderer: typeof google.maps.DirectionsRenderer;
6298+
DirectionsService: typeof google.maps.DirectionsService;
6299+
DirectionsStatus: typeof google.maps.DirectionsStatus;
6300+
DistanceMatrixElementStatus: typeof google.maps.DistanceMatrixElementStatus;
6301+
DistanceMatrixService: typeof google.maps.DistanceMatrixService;
6302+
DistanceMatrixStatus: typeof google.maps.DistanceMatrixStatus;
6303+
TrafficModel: typeof google.maps.TrafficModel;
6304+
TransitMode: typeof google.maps.TransitMode;
6305+
TransitRoutePreference: typeof google.maps.TransitRoutePreference;
6306+
TravelMode: typeof google.maps.TravelMode;
6307+
VehicleType: typeof google.maps.VehicleType;
6308+
}
62266309
}
62276310
declare namespace google.maps {
62286311
/**
@@ -6359,7 +6442,16 @@ declare namespace google.maps {
63596442
}
63606443
}
63616444
declare namespace google.maps {
6362-
interface StreetViewLibrary {}
6445+
interface StreetViewLibrary {
6446+
InfoWindow: typeof google.maps.InfoWindow;
6447+
OverlayView: typeof google.maps.OverlayView;
6448+
StreetViewCoverageLayer: typeof google.maps.StreetViewCoverageLayer;
6449+
StreetViewPanorama: typeof google.maps.StreetViewPanorama;
6450+
StreetViewPreference: typeof google.maps.StreetViewPreference;
6451+
StreetViewService: typeof google.maps.StreetViewService;
6452+
StreetViewSource: typeof google.maps.StreetViewSource;
6453+
StreetViewStatus: typeof google.maps.StreetViewStatus;
6454+
}
63636455
}
63646456
declare namespace google.maps {
63656457
/**
@@ -7649,7 +7741,9 @@ declare namespace google.maps {
76497741
}
76507742
}
76517743
declare namespace google.maps {
7652-
interface VisualizationLibrary {}
7744+
interface VisualizationLibrary {
7745+
HeatmapLayer: typeof google.maps.visualization.HeatmapLayer;
7746+
}
76537747
}
76547748
declare namespace google.maps {
76557749
/**

0 commit comments

Comments
 (0)