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 8d29363 commit 6be2274Copy full SHA for 6be2274
samples/advanced-markers-altitude/index.ts
@@ -13,9 +13,7 @@ async function initMap() {
13
const { Map } = await google.maps.importLibrary("maps") as google.maps.MapsLibrary;
14
const { AdvancedMarkerElement, PinElement } = await google.maps.importLibrary("marker") as google.maps.MarkerLibrary;
15
16
- innerMap = mapElement.innerMap;
17
-
18
- innerMap.setOptions ({
+ mapElement.innerMap.setOptions ({
19
tilt: 67.5,
20
heading: 45,
21
});
@@ -39,4 +37,4 @@ async function initMap() {
39
37
}
40
38
41
initMap();
42
-// [END maps_advanced_markers_altitude]
+// [END maps_advanced_markers_altitude]
0 commit comments