File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
place-autocomplete-element Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -51,4 +51,4 @@ async function initMap(): Promise<void> {
5151
5252initMap ( ) ;
5353// [END maps_place_autocomplete_element]
54- export { } ;
54+ export { } ;
Original file line number Diff line number Diff line change @@ -51,4 +51,4 @@ async function initMap(): Promise<void> {
5151
5252initMap ( ) ;
5353// [END maps_place_autocomplete_element]
54- export { } ;
54+ export { } ;
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 { } ;
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