cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,093)