cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
daz0894
Regular Visitor

Get Latitude & Longitude from Address in Realtime with Google Maps API, then populate Map with Pins

Is there a way for me to send a list of customers and addresses to Google Maps API to return Latitude & Longitude which then populates a map - all within PowerApps?

 

My reasoning is that I don't already have Latitude & Longitude stored anywhere, and as it is a list that constantly gets added to (new customers), it is would be more practical to get this is realtime rather than manually getting this information on a regular basis and storing it somewhere (SQL in my case)

P.S. I need to show more than 50 locations, otherwise I could use 'ItemsAddress' option

1 REPLY 1
v-qiaqi-msft
Community Support
Community Support

Hi@daz0894,

Do you want to get Latitude & Longitude based on the address and add pins to the Google Map?

Here are some similar threads you can refer to:

Solved: Multiple Map Pins onto a Google Map - Power Platform Community (microsoft.com)

Solved: Google map and pin in PowerApps - Power Platform Community (microsoft.com)

Also, here is a blog you can refer to: 

How to add a Google Map to a PowerApp - Collab365 Community

I have a test on my side, please take a try as below.

"https://maps.googleapis.com/maps/api/staticmap?center="
& "Brooklyn+Bridge;New+York;NY"
& "&zoom=13 &size=600x600 &key=MyKez
&markers=color:red%7Clabel:A%7C" &"Brooklyn+Bridge
&markers=color:red%7Clabel:A%7C" &"New+York;NY"

Regards,

Qi

Best Regards,
Qi

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (3,246)