web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to use catalogue a...
Power Apps
Answered

How to use catalogue and map control

(1) ShareShare
ReportReport
Posted on by 42

Hi dear communitiy,

 

What I want:

 

A screen with a catalogue of Adresses in a dataverse table. All entries in the catalogue should show up on the map as markers.

The table has longitude and latitude columns.

 

What I tried:

- Creating a collection colLocations with ClearCollect in OnStart and setting the MapControl.Items to the collection colLocations.

- Setting MapControl.Items to ForAll(TableName; { latitude: ThisRecord.Latitude;

})

- reading the official documentation

- watching Youtube videos for 3 hours (extremely frustrating since most stuff isn't up to date anymore)

 

 

How do I do that?

Categories:
I have the same question (0)
  • Verified answer
    Giraldoj Profile Picture
    771 Super User 2025 Season 2 on at

    HI @CD00131 

     

    There are a few additional fields that you need to configure so the map can show you the correct locations.

    Giraldoj_0-1719850406612.png

    So if you already have the Items property configure with the collection, then lets configure the other ones.

     

    ItemsLabels this is the text you want to show along with the pin in the map, for example here im displaying city name, just put collection field name in quotes for example "City" or "Location"

    Giraldoj_1-1719850492622.png

    ItemsLatitude just put your columns Latitud name "Latitude"  Don't remove the quotes

    Same for ItemsLongitude just put "Longitude" Don't remove the quotes

    PD: for you guidance my collection looks like this

     

    ClearCollect(
     colLocations,
     {
     Name: "Location 1",
     Latitude: 37.7749,
     Longitude: -122.4194,
     Description: "San Francisco, CA"
     },
     {
     Name: "Location 2",
     Latitude: 34.0522,
     Longitude: -118.2437,
     Description: "Los Angeles, CA"
     },
     {
     Name: "Location 3",
     Latitude: 40.7128,
     Longitude: -74.0060,
     Description: "New York, NY"
     }
    );

     



    And thats it now your map should be working 😁

    If my response resolved your issue, please feel free to mark it as the solution by clicking "Accept as solution." This helps others find the answer more easily. If you found the content helpful in any other way, a "Thumbs Up" would be greatly appreciated. Thank you! â€Œâ€Œ

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard