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

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

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,751)