Correct address format to get the most accurate results from google GeoCoding API

前端 未结 6 842
南笙
南笙 2020-12-24 02:12

Is there any standard format to supply the address string to Google GeoCoding API to get the most accurate results on map.

For Eg. following query not giving correct

6条回答
  •  暖寄归人
    2020-12-24 03:03

    No need to avoid apartment units. This works:

    https://maps.googleapis.com/maps/api/geocode/xml?address=14202+N+42nd+St+Unit+301+33613

    "Apt", "Room", and "Suite" work as well

    They all return 301 as subpremise and are shown in "formatted_address" as "#301."

    Paul sends...

提交回复
热议问题