I want to search it by postal/zip code but not able to find find module which includes zip code
Microsoft.Maps.loadModule('Microsoft.Maps.AutoSuggest', {
callback: () => {
//show Maximum results Limits and country code
var options = { maxResults: 10, countryCode: countryCodeValue };
var manager = new Microsoft.Maps.AutosuggestManager(options);
//manager.attachAutosuggest(`#searchBox-${this.uniqueId}`, `#searchBoxContainer-${this.uniqueId}`, (suggestionResult) => {
manager.attachAutosuggest('#searchBox-' + _this.uniqueId, '#searchBoxContainer-' + _this.uniqueId, (suggestionResult) => {
_this.street = suggestionResult.address.addressLine;
_this.city = suggestionResult.address.locality;
//this.county = suggestionResult.address.district;
_this.state = suggestionResult.address.adminDistrict;
_this.country = suggestionResult.address.countryRegion;
_this.zipcode = suggestionResult.address.postalCode;
_this.value = suggestionResult.formattedSuggestion || "";
_this.notifyOutputChanged();
});
},
errorCallback: () => { alert("error!!"); }
});