cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
markbillinge
Level: Powered On

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
PowerApps Staff CarlosFigueira
PowerApps Staff

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
PowerApps Staff CarlosFigueira
PowerApps Staff

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

sscarcella
Level 8

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,963)