web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Bing send no map

(0) ShareShare
ReportReport
Posted on by 228

Hi,

 

i have this code (sample1 and sample2) for testing und generate a Map .

 

Sample1:
"http://dev.virtualearth.net/REST/v1/Imagery/Map/Road/" & Location.Latitude & "," & Location.Longitude & "/15?mapSize=400,400&pp=" & Location.Latitude & "," & Location.Longitude & ";" & " &key=xxxx"


Sample2:
"https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/48.315770, 10.049377/15?mapSize=500,500&pp=48.316826, 10.050816;21;Parkplatz&pp=48.313957, 10.053014;21;Verboten&pp=48.314339, 10.046103;102;Grenz1&pp=48.317966, 10.049242;21;FlyOnly&key=xxxx"

Bing gives me no Return and only a blank screen for sample 1

I have generate a basic API key and that works, only if i use Location.Latitude... for own position i get nothing.

 

For sample 2 i get a map with pinpoint

 

Has anyone an idea what's wrong here?

 

Thanks

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    HI @Tamer66 

     

    Can you please confirm that you have enabled the location functionality in your browser? You can text this out by referring Location.Latitude on a temporary variable and once you get the value, you can remove this temporary label.
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • Tamer66 Profile Picture
    228 on at

    Hi @yashag2255 

     

    i test it with a set variable and the location are returned.

    With Google maps i can use the location funktionality and i can see the map wit my own location.

  • Tamer66 Profile Picture
    228 on at

    Hi @yashag2255 

     

    i guess i know now what's the problem. The location.latitude gives me a value with comma eg. 48,313041 but

    Powerapps code accept only a value format with a Point eg. 48.313041

     

    But why gives Bing a location with comma and Powerapps accept it only with a point?

  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Tamer66 

     

    If you want to replace comma in Latitude/Longitutde with a fullstop, you can use the below expression:
    "http://dev.virtualearth.net/REST/v1/Imagery/Map/Road/" & Substitute(Text(Location.Latitude),".",",") & "," & Substitute(Text(Location.Longitude),".",",") & "/15?mapSize=400,400&pp=" & Location.Latitude & "," & Location.Longitude & ";" & "
    &key=xxxx"
    Please refer to below mentioned blog for more details on bing map reference inside a canvas app:
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • Tamer66 Profile Picture
    228 on at

    Hi,

     

    thanks a lot for your support. I understand now a little bit more how can i write this code and a little bit more

    about Bing and PA

     

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard