File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
samples/place-autocomplete-map Expand file tree Collapse file tree 1 file changed +2
-2
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.
@@ -90,4 +90,4 @@ function updateInfoWindow(content, center) {
9090
9191initMap ( ) ;
9292// [END maps_place_autocomplete_map]
93- export { } ;
93+ export { } ;
You can’t perform that action at this time.
0 commit comments