Skip to content

Commit e24551f

Browse files
🤖 Merge PR DefinitelyTyped#70478 chore: sync updates to google.maps by @googlemaps-bot
Co-authored-by: copybara-service[bot] <copybara-service[bot]@users.noreply.github.com>
1 parent 6631655 commit e24551f

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// No tests required for generated types
2-
// Synced from: https://github.com/googlemaps/js-types/commit/f97e656a4b1dde3ac8f1ad88a1e9f970ff40276a
2+
// Synced from: https://github.com/googlemaps/js-types/commit/b0bd08e528cbf6c5364c61b734fa99ab5559b2f5
33
google.maps.Map;

types/google.maps/index.d.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// To report an issue with these types, please open a support ticket at:
22
// https://issuetracker.google.com/savedsearches/558438
33

4-
// Google Maps JS API Version: 3.57
4+
// Google Maps JS API Version: 3.58
55
// tslint:disable:enforce-name-casing
66
// tslint:disable:no-any
77
// tslint:disable:interface-over-type-literal
@@ -98,6 +98,16 @@ declare namespace google.maps {
9898
*/
9999
setMap(map: google.maps.Map | null): void;
100100
}
101+
/**
102+
* The display options for the Camera control.
103+
*/
104+
export interface CameraControlOptions {
105+
/**
106+
* Position id. Used to specify the position of the control on the map.
107+
* @defaultValue {@link google.maps.ControlPosition.INLINE_START_BLOCK_END}
108+
*/
109+
position?: google.maps.ControlPosition | null;
110+
}
101111
/**
102112
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
103113
*
@@ -4082,6 +4092,14 @@ declare namespace google.maps {
40824092
* set when the map is initialized.
40834093
*/
40844094
backgroundColor?: string | null;
4095+
/**
4096+
* The enabled/disabled state of the Camera control.
4097+
*/
4098+
cameraControl?: boolean | null;
4099+
/**
4100+
* The display options for the Camera control.
4101+
*/
4102+
cameraControlOptions?: google.maps.CameraControlOptions | null;
40854103
/**
40864104
* The initial Map center.
40874105
*/

types/google.maps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@types/google.maps",
4-
"version": "3.57.9999",
4+
"version": "3.58.9999",
55
"nonNpm": true,
66
"nonNpmDescription": "Google Maps JavaScript API",
77
"projects": [

0 commit comments

Comments
 (0)