cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Re: Google map and pin in PowerApps

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

Highlighted
Solution Sage
Solution Sage

Re: Google map and pin in PowerApps

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"

 

Highlighted
Post Patron
Post Patron

Re: Google map and pin in PowerApps

 

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=_

 

 

Highlighted
Solution Sage
Solution Sage

Re: Google map and pin in PowerApps

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=_

Highlighted
Resolver I
Resolver I

Re: Google map and pin in PowerApps

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

Highlighted
Resolver I
Resolver I

Re: Google map and pin in PowerApps

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

Highlighted
Helper II
Helper II

Re: Google map and pin in PowerApps

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!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,258)