cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
markbillinge
Regular Visitor

Bing Maps

I want to retrieve latitude and longitude from an address using the bing maps connector , but it says invalid number of arguments , and yet I am providing 5 arguments to the method which is correct 

BingMaps.GetLocationByAddress("","","","","").point.coordinates.latitude

 

1 ACCEPTED SOLUTION

Accepted Solutions
Power Apps
Power Apps

Re: Bing Maps

None of the arguments of that function are required, so they're passed by name instead. Here are some examples where you can use that:

BingMaps.GetLocationByAddress({addressLine:"One Microsoft Way", locality:"Redmond, WA", countryRegion:"USA"})

BingMaps.GetLocationByAddress({addressLine:"99 rue de Rivoli", locality:"Paris", countryRegion:"France", postalCode:"75001"}

View solution in original post

2 REPLIES 2
Power Apps
Power Apps

Re: Bing Maps

None of the arguments of that function are required, so they're passed by name instead. Here are some examples where you can use that:

BingMaps.GetLocationByAddress({addressLine:"One Microsoft Way", locality:"Redmond, WA", countryRegion:"USA"})

BingMaps.GetLocationByAddress({addressLine:"99 rue de Rivoli", locality:"Paris", countryRegion:"France", postalCode:"75001"}

View solution in original post

Highlighted
sscarcella Kudo Collector
Kudo Collector

Re: Bing Maps

Can you show the syntax how you got latitude and longitude from address.

 

UPDATE I figured it out thanks.  I had a typo in my syntax.

Helpful resources

Announcements
secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

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