We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f697b2a commit 6a01c45Copy full SHA for 6a01c45
1 file changed
samples/3d-camera-position/index.ts
@@ -8,9 +8,7 @@ async function initMap(): Promise<void> {
8
// Declare the needed libraries.
9
await google.maps.importLibrary('maps3d');
10
11
- // prettier-ignore
12
- // @ts-ignore
13
- const map3DElement = document.querySelector('gmp-map-3d') as google.maps.Map3DElement;
+ const map3DElement = document.querySelector('gmp-map-3d')!;
14
15
// Elements from HTML
16
const headingSlider = document.getElementById(
0 commit comments