You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### API - for more info please visit the official documentation [Maps JavaScript API](https://developers.google.com/maps/documentation/javascript/places-autocomplete?hl=en)
| country | `Input()` | string | string[]; | - | can be used to restrict results to specific groups. Currently, you can use componentRestrictions to filter by up to 5 countries. Countries must be passed as as a two-character, ISO 3166-1 Alpha-2 compatible country code. Multiple countries must be passed as a list of country codes.
314
357
| placeIdOnly | `Input()` | boolean | - | can be used to instruct the Autocomplete widget to retrieve only Place IDs. On calling getPlace() on the Autocomplete object, the PlaceResult made available will only have the place id, types and name properties set. You can use the returned place ID with calls to the Places, Geocoding, Directions or Distance Matrix services.
@@ -318,8 +361,8 @@ export class HomeComponent implements OnInit {
318
361
| autoCompleteOptions | `Input()` | AutocompleteOptions | - | all above inputs in one object! The passed data to this object will be merged with the input if they exists
319
362
| onChange | `Output()` | PlaceResult | string | null | - | event when the input form value changed
320
363
| onAutocompleteSelected | `Output()` | PlaceResult | - | the event will be fired when a place has been selected via the google maps autocomplete component
364
+
| onGermanAddressMapped |`Output()`| GermanAddress | - | the event will be fired when a place has been selected and mapped to the german address interface |
321
365
| onLocationSelected |`Output()`| Location | - | the event will be fired when a place has been selected via the google maps autocomplete component |
322
-
| onLocationSelected |`Output()`| GermanAddress | - | the event will be fired when a place has been selected and mapped to the german address interface |
323
366
324
367
#### Supported Types
325
368
@@ -463,5 +506,5 @@ $ cd demo && npm i && npm start
463
506
464
507
## License
465
508
466
-
Copyright (c) 2019 [Anthony Nahas](https://github.com/AnthonyNahas). Licensed under the MIT License (MIT)
509
+
Copyright (c) 2019-2020[Anthony Nahas](https://github.com/AnthonyNahas). Licensed under the MIT License (MIT)
Copy file name to clipboardExpand all lines: projects/angular-material-extensions/google-maps-autocomplete/src/lib/component/mat-google-maps-autocomplete.component.ts
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,9 @@ export class MatGoogleMapsAutocompleteComponent implements OnInit, ControlValueA
0 commit comments