Bing Geocode api not working with Singapore addresses -


i tried several valid address bing map api not returning result:

http://dev.virtualearth.net/rest/v1/locations?admindistrict=singapore&countryregion=sgp&postalcode=449269&addressline=80%20marine%20parade%20rd&key=mykey

any ideas?

there 3 ways resolve issue;

  • instead of passing in singapore admindistrict (i.e. state/province), pass in using locality property (city). alternatively pass in both of properties.
  • remove postal code query.
  • instead of using structured address, pass in address query. recommended in best practices , increases odds of correct result being found: https://msdn.microsoft.com/en-us/library/dn894107.aspx

Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -