Skip to content

Commit dc1efa0

Browse files
authored
fix: Some small fixes for consistency. (#905)
1 parent f5d61e1 commit dc1efa0

File tree

1 file changed

+1
-1
lines changed
  • samples/advanced-markers-graphics

1 file changed

+1
-1
lines changed

samples/advanced-markers-graphics/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ async function initMap() {
4949

5050
const beachFlagMarker = new AdvancedMarkerElement({
5151
position: { lat: 37.434, lng: -122.082 },
52-
content: beachFlagImg,
5352
title: 'A marker using a custom PNG Image',
5453
//@ts-ignore
5554
anchorLeft: '0px',
5655
anchorTop: '100%',
5756
});
57+
beachFlagMarker.append(beachFlagImg);
5858
mapElement.append(beachFlagMarker);
5959
// [END maps_advanced_markers_graphics_png]
6060

0 commit comments

Comments
 (0)