Skip to content

Commit 351c75d

Browse files
authored
Remove mapTypeControl from innerMap options
Removed mapTypeControl option from innerMap settings.
1 parent 24e970f commit 351c75d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

samples/advanced-markers-simple/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ async function initMap() {
1515
const { AdvancedMarkerElement } = await google.maps.importLibrary("marker") as google.maps.MarkerLibrary;
1616

1717
innerMap = mapElement.innerMap;
18-
innerMap.setOptions({
19-
mapTypeControl: false,
20-
});
2118

2219
const marker = new AdvancedMarkerElement({
2320
map: innerMap,
@@ -26,4 +23,4 @@ async function initMap() {
2623
}
2724
// [END maps_advanced_markers_simple_snippet]
2825
initMap();
29-
// [END maps_advanced_markers_simple]
26+
// [END maps_advanced_markers_simple]

0 commit comments

Comments
 (0)