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
Highlighted
Power Apps Staff CarlosFigueira
Power Apps 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
Highlighted
Power Apps Staff CarlosFigueira
Power Apps 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 Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,725)