Google Geocoding — parsing address_components that may return differently

前端 未结 2 806
庸人自扰
庸人自扰 2021-02-06 00:53

I\'m using Google Maps V3 api. I am submitting an address search to return the proper geocoded result including the address, name of establishment, and lat/lngs.

My prob

2条回答
  •  感情败类
    2021-02-06 01:28

    Addresses are very much a 'human' thing. I think the reason Google's data is so messy is because their source data is messy, but likely similar for one area.

    Which parts of the address are relevant to you? If you're just feeding this to a human just give him whatever you have?

提交回复
热议问题