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

Trouble using google maps api in Powerapps

If I'm posting this in the wrongarea, I'm sorry.

 I am trying to use Google Maps API  to bring in a map using the longitude and latitude coordinates.   I did find a Youtube video with some code to use in the Image property of the image carrd where the map will go.  The code is as follows:

 

Concatenate("https://maps.googleapis.com/maps/api/staticmap?zoom=15",
"&size=375x275
&maptype=roadmap
&markers=color:red%7C",
Substitute(BrowseGallery1.Selected.Adrs," ","+")
&"+" &
"North Carolina+","
&key=My Google key")

 

However nothing appears in the image field.  And I do understand that this code is using the address to find the location and I do have an "Adrs" field being used for I wanted to see if it worked.  Does anyone see anything  wrong with the code?

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,082)