How to solve the Difference between Google Maps and Geocoding?

前端 未结 2 664
无人共我
无人共我 2021-01-21 11:44

OK here is an odd situation. This I have been facing from long time on so many Maps I have created.

Here is one sample address :

Hotel Tamisa Golf, Cam         


        
2条回答
  •  孤街浪徒
    2021-01-21 12:10

    For the address you mentioned, the geocode is returning more than one results, you need to handle all the results. see your answer here.

    EDIT: The Google Place search API can help you here, for more detail see this. Sample example is here at jsFiffle.

提交回复
热议问题