The map, on the other hand, needs a data source that is a collection. It will return an object that contains a lot of stuff like the latitude and longitude, municipality, etc. The “Address input” will display addresses based on your search. To do this, let’s connect both components, but we need to understand how they work before we can do that. Now that we have the autocomplete working, we want the map to show the address we selected. I like this feature a lot, and it’s handy on mobile, where writing is a little bit slower than on a desktop app. Microsoft uses the maps API to get the addresses that you may want and autocomplete them.