File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
dist/samples/place-autocomplete-map
samples/place-autocomplete-map Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments