I have a problem integrating a 'binkMaps' card into a PowerApps screen.
I found this link where we explain the procedure, but in the image field that must receive the card I have an error:
"https://dev.virtualearth.net/REST/V1/Imagery/Map/Road/" & EncodeUrl (txtLocation.Text) & "? mapSize =" & txtImageWidth & "," & txtImageHeight & "& key =" & txtBingMapsKey. text
My searchg place ex: 182 Av. des Champs-Élysées, 75008 Paris
Where is my mistake?
I am not sure if this would solve your issue but I've noticed that you have some extra spaces in your URL try using this updated version:
"https://dev.virtualearth.net/REST/V1/Imagery/Map/Road/" & EncodeUrl(txtLocation.Text) & "?mapSize=" & txtImageWidth & "," & txtImageHeight & "&key="&txtBingMapsKey.Text
Hope this helps 🙂
Thanks @mobaky. It is handy to know not to add spaces between the variable and '=' operator. I was able to get working example on my end.
You can see above what I am trying to achieve.
In the Image object I wrote this:
"https://dev.virtualearth.net/REST/V1/Imagery/Map/Road/" & EncodeUrl(Gallery1.Selected.Adresse_x0020_Prof) &"? Mapsize="&Largeur.Text&" "&Hauteur.Text& "&key="&"txtBingMapsKey.texte"
Adresse I'm looking for
The Key of my map created on Bing
You can check on the picture that there is no mistake on the formula, the map key is ok, but no result !!!!
One thing you can do to see if the link is correct is to use your formula into a TextBox Control, then copy the link into your browser and see if you can see the map. This will help us understand why it's not working.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.