ngx-wapp-components 1.7.2 → 1.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4724,9 +4724,11 @@ class WMapsComponent {
4724
4724
  this.addressVerbose = new EventEmitter();
4725
4725
  this.addressFinal = {};
4726
4726
  }
4727
- ngOnInit() {
4728
- }
4727
+ ngOnInit() { }
4729
4728
  async ngAfterViewInit() {
4729
+ if (typeof this.streetAddress !== "string") {
4730
+ this.streetAddress = (this.streetAddress?.route || '') + " " + (this.streetAddress?.streetNumber || '') + " " + (this.streetAddress?.areaLevel2 || '') + " " + (this.streetAddress?.postalCode || '') + " " + (this.streetAddress?.locality || '') + " " + (this.streetAddress?.country || '');
4731
+ }
4730
4732
  if (this.isEdit)
4731
4733
  this.loadAutoComplete();
4732
4734
  if (this.showMap || this.showMapButton) {