Is that the idea? : Because the user location is not fixed, how does the APP Store the geographical location? "Baidu take-out" has a "My nearby merchants" function. Does it update the user's latitude and longitude in the database every time a user logs on? Then, when requesting the merchant list, the distance is calculated? Is that the idea? :
Because the user location is not fixed, how does the APP Store the geographical location?
"Baidu take-out" has a "My nearby merchants" function;
Does it mean to update the user's longitude and latitude in the database every time a user logs on?
Then, when requesting the merchant list, the distance is calculated?
Reply content:
Is that the idea? :
Because the user location is not fixed, how does the APP Store the geographical location?
"Baidu take-out" has a "My nearby merchants" function;
Does it mean to update the user's longitude and latitude in the database every time a user logs on?
Then, when requesting the merchant list, the distance is calculated?
MSSQL has geography
MySQL has Spatial Data Types