Google Places Api sort by distance

后端 未结 3 1350
盖世英雄少女心
盖世英雄少女心 2020-12-09 13:56

Currently developing an Android application that returns the closest 20 location to the users current location.

Google Places API is retur

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-09 14:08

    It's quite possible that the places that you're thinking are closer than the places that are being returned are not true Google places.

    Check out this FAQ for getting your business on Google maps: https://support.google.com/places/answer/145585?hl=en .

    A test for this could be to attempt to register the business you think is closer with Google places https://www.google.com/local/business/add?hl=en&migratedId=04614545856067425787 and see if it allows you. If you can, this would mean that they are not a true Google place and would not show up in this result set.

提交回复
热议问题