Get nearest places on Google Maps, using MySQL spatial data

后端 未结 3 621
执念已碎
执念已碎 2020-11-28 05:34

I have a database with a list of stores with latitudes and longitudes of each. So based on the current (lat, lng) location that I input, I would like to get a list of items

3条回答
  •  粉色の甜心
    2020-11-28 05:44

    You should choose a database that is spatially enabled like mysql or postgresql and then you can use some of the ready functions they providing. Else if you want to do it manually check this for heads up.

提交回复
热议问题