File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
samples/place-autocomplete-element Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ async function initMap(): Promise<void> {
3939 // [START maps_place_autocomplete_element_listener]
4040 // Add the gmp-placeselect listener, and display the results.
4141 //@ts -ignore
42- placeAutocomplete . addEventListener ( 'gmp-placeselect' , async ( { place } ) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction
42+ placeAutocomplete . addEventListener ( 'gmp-placeselect' , async ( { place } ) => { // TODO: gmp-placeselect -> gmp-select; place -> placePrediction.
4343 await place . fetchFields ( { fields : [ 'displayName' , 'formattedAddress' , 'location' ] } ) ;
4444
4545 selectedPlaceTitle . textContent = 'Selected Place:' ;
@@ -51,4 +51,4 @@ async function initMap(): Promise<void> {
5151
5252initMap ( ) ;
5353// [END maps_place_autocomplete_element]
54- export { } ;
54+ export { } ;
You can’t perform that action at this time.
0 commit comments