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 8e03565 commit 2b51ca8Copy full SHA for 2b51ca8
samples/advanced-markers-zoom/index.ts
@@ -42,7 +42,7 @@ async function initMap() {
42
const markers: google.maps.marker.AdvancedMarkerElement[] = [];
43
for (const { position, title } of markerOptions) {
44
const marker = new AdvancedMarkerElement({ position, title });
45
- mapElement.appendChild(marker);
+ mapElement.append(marker);
46
markers.push(marker);
47
}
48
0 commit comments