cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Google map and pin in PowerApps

Hi, I am doing my best to learn the PowerApps program but i am having difficulty getting google maps to work. I want to make an app that starts with google maps with a pin set to my location and i can move it around. Do i put my google api code in spmewhere on the google drive connection? 

26 REPLIES 26

Thanks hngdev this works like a charm, but is there anyway to add multiple markers on to the map?

Hello,

You can try this..
"https://maps.googleapis.com/maps/api/staticmap?center=1.219,1.54181&zoom=17&size=2400x2400&key=[YOUR KEY]&markers=color:red%7Clabel:A%7C1.219,1.5418&markers=color:green%7Clabel:B%7C1.219,1.542&markers=color:blue%7Clabel:C%7C1.219,1.5415"

 

 

I copied and pasted your link with my API key. Why was it rejected?

 

The Google Maps API server rejected your request. This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/apis/api/static_maps_backend?project=_

 

 

Hi luuminhvuong93 ,

Unfortunately I don't know why. 😞
Maybe this(?):
Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/apis/api/static_maps_backend?project=_

hngdev,

 

Thank you for the formula. It works if we put real latitude and longitude number in the formula, but how can I put fields there? I have one latitude field and one longitude field, the formula doesn't recognize them as field names, so the map won't display. Do you have any suggestions on that? See my screenshot.

 

I'll appreciate your help.

 

Pei Pei

Never mind, I have figured out after reading more postings. Below is my screenshot. I just need to put some & in before and after the field names. Thanks for all the postings. 

 

Pei Pei

 

I forgot to hide my Google Map API Key. Edited to change the picture.

 

GoogleMap.jpg

Hi @markvogt7 

working fine on browser URL

on the app getting error:

Capture.PNG

Thanks @SoB 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,967)