Here is an example of a PowerApps custom control build using Azure Maps to generate interactive maps of your data points.

Azure Maps is a service that allows for integration into custom applications. It allows you to add geospatial capabilities such as maps, search, routing, and traffic to your application. 

For the scenario in this post I used Azure Maps to identify locations of traffic cameras in Copenhagen, Denmark. Red cameras illustrate that there is an anomaly with the camera feed. When zoomed out the pins are clustered, a red outline indicates the cluster contains at least one camera with an anomaly.

PowerApps Custom Control and Azure Maps

The control is implemented as a PowerApps custom control based on the dataset template. It retrieves that records and parse them into a geoJson object that is passed on to Azure Maps.

Once the data points are in Azure Maps it renders several layers based on these points. Layers are used to manage the data points, clusters and symbols on the map. It is highly customizable and even has support for styling via expression so that you can change the color of clusters based on the value of some property on the points in the cluster.

Solution file (only PCF control) :

Source code is on github :