Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Map Component info card and onMapClick

hi, i have an app with a map component and a gallery, both showing people with their names, pics and location.

Everything works fine but i have 2 questions.


  1. inside my info card i want to show the name of the person in that pin or the name of the location, sadly they are Complex data type field. Normally i get the name with User.DisplayName and the location with Location.City. In my search filter i fixed it with "AddColumns(mydatasource, "name", User.DisplayName)". But how can i do that inside my info card????
  2. I'd like to be able to click on a pin and the gallery should give me only people coming from that location. considering the items element of my gallery gets data with Search(mydatasource, searchValues, "username") where searchValues is a data set by a searchbar input field where i can write name or location, how can i do that?

thank you so much


Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (6,139)