
Announcements
Hello,
I am using the Map control in PowerApps and have inserted a gallery linked to a SharePoint list that is also feeding the map pins!
How can I connect the gallery to the pins so that if I click on either the title/name or the pin icon it will show the icon as selected on the app??
Hi @sudosaurus ,
We could use MapControl.Selected to get info. of a pin that user selected. You could try:
1\Set the Gallery's Default property to:
LookUp(SPList,Lat=MapControl.Selected.Lat && long=MapControl.Selected.long)
2\Set the MapControl's OnSelect property to:
Reset(Gallery)
I think this link will help you a lot:
Best Regards,
Bof