Skip to content

Commit d50a2b1

Browse files
authored
Add comment for retrieving map element (#1143)
Debug (sort of): Added a comment to clarify the retrieval of the map element.
1 parent 507de65 commit d50a2b1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

samples/event-poi/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ async function initMap() {
1111
// Request the needed libraries.
1212
await google.maps.importLibrary('maps');
1313

14+
// Retrieve the map element.
1415
const mapElement = document.querySelector(
1516
'gmp-map'
1617
) as google.maps.MapElement;

0 commit comments

Comments
 (0)