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 805e618 commit 6b11489Copy full SHA for 6b11489
samples/place-autocomplete-element/index.ts
@@ -39,7 +39,7 @@ async function initMap(): Promise<void> {
39
// [START maps_place_autocomplete_element_listener]
40
// Add the gmp-placeselect listener, and display the results.
41
//@ts-ignore
42
- placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => {
+ placeAutocomplete.addEventListener('gmp-placeselect', async ({ place }) => { // TODO: gmp-placeselect -> gmp-select
43
await place.fetchFields({ fields: ['displayName', 'formattedAddress', 'location'] });
44
45
selectedPlaceTitle.textContent = 'Selected Place:';
0 commit comments