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

Highlighted
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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,301)