Skip to content

Commit 98ad339

Browse files
authored
fix: Removes gestureHandling option from several 3D samples. (#1480)
1 parent 7d36a11 commit 98ad339

26 files changed

Lines changed: 0 additions & 26 deletions

File tree

samples/3d-accessibility-features/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ async function init() {
2020
tilt: 67.44,
2121
heading: 0.01,
2222
mode: 'SATELLITE',
23-
gestureHandling: 'COOPERATIVE',
2423
});
2524

2625
// Set LatLng and title text for the markers. The first marker (Boynton Pass)

samples/3d-camera-boundary/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ async function init() {
1313
tilt: 67.5,
1414
mode: 'HYBRID',
1515
bounds: { south: -48.3, west: 163.56, north: -32.86, east: -180 },
16-
gestureHandling: 'COOPERATIVE',
1716
});
1817

1918
document.body.append(map);

samples/3d-camera-to-around/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ async function init() {
1717
range: 6062.016931506805,
1818
tilt: 81.17100663963272,
1919
heading: -56.047035719765596,
20-
gestureHandling: 'COOPERATIVE',
2120
});
2221

2322
map.mode = 'SATELLITE';

samples/3d-clamp-mode/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ async function init() {
2121
range: 4800,
2222
heading: 31,
2323
mode: 'SATELLITE',
24-
gestureHandling: 'COOPERATIVE',
2524
});
2625

2726
polyline = new Polyline3DElement({

samples/3d-label-toggle/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ async function init() {
1818
range: 6062.016931506805,
1919
tilt: 81.17100663963272,
2020
heading: -56.047035719765596,
21-
gestureHandling: 'COOPERATIVE',
2221
});
2322

2423
map.mode = 'SATELLITE';

samples/3d-localization/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ async function init() {
2020
language: 'ZH',
2121
region: 'CN',
2222
mode: 'HYBRID',
23-
gestureHandling: 'COOPERATIVE',
2423
});
2524

2625
document.body.append(map);

samples/3d-map-styling/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ async function init() {
1919
range: 6605.57279990986,
2020
mapId: 'bcce776b92de1336e22c569f', // Styles are associated with map IDs.
2121
mode: 'HYBRID',
22-
gestureHandling: 'COOPERATIVE',
2322
});
2423

2524
document.body.append(map);

samples/3d-marker-click-event/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ async function init() {
2121
const map = new Map3DElement({
2222
...originalCamera,
2323
mode: 'SATELLITE',
24-
gestureHandling: 'COOPERATIVE',
2524
});
2625

2726
// Create the interactive marker and set the attributes.

samples/3d-marker-collision-behavior/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ async function init() {
1616
center: { lat: 47.6094, lng: -122.339, altitude: 0 },
1717
range: 1000,
1818
mode: 'HYBRID',
19-
gestureHandling: 'COOPERATIVE',
2019
});
2120

2221
for (const [lng, lat] of positions) {

samples/3d-marker-customization/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ async function init() {
1717
tilt: 67.5,
1818
range: 7000,
1919
mode: 'HYBRID',
20-
gestureHandling: 'COOPERATIVE',
2120
});
2221

2322
map.mode = 'SATELLITE';

0 commit comments

Comments
 (0)