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
Solved! Go to Solution.
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"}
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"}
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.
User | Count |
---|---|
197 | |
124 | |
85 | |
50 | |
42 |
User | Count |
---|---|
284 | |
160 | |
134 | |
73 | |
73 |