Skip to content

Commit dfa4b81

Browse files
authored
Update index.ts (#182)
Makes a small change to test workflows.
1 parent b85335f commit dfa4b81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/place-autocomplete-map/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async function initMap(): Promise<void> {
5555
// [START maps_place_autocomplete_map_listener]
5656
// Add the gmp-placeselect listener, and display the results on the map.
5757
//@ts-ignore
58-
placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction
58+
placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction.
5959
await place.fetchFields({ fields: ['displayName', 'formattedAddress', 'location'] });
6060

6161
// If the place has a geometry, then present it on a map.
@@ -90,4 +90,4 @@ function updateInfoWindow(content, center) {
9090

9191
initMap();
9292
// [END maps_place_autocomplete_map]
93-
export { };
93+
export { };

0 commit comments

Comments
 (0)