For example, when you get a geographic location that users send, how can I find information about nearby stores? And the location of these businesses is stored in their own servers, not Baidu, Google and other servers.
Reply content:
For example, when you get a geographic location that users send, how can I find information about nearby stores? And the location of these businesses is stored in their own servers, not Baidu, Google and other servers.
Call the Baidu Map API bar.
Your own data, you can use MongoDB geospatial indexing.
Agree with upstairs opinion. Use the user's coordinates, and then call the Baidu map of the merchant information.
Write your own location algorithm to calculate AH, the data in their own hands is quite flexible, mainly to the latitude of the distance calculation
I remember Baidu, the great map has given the specified coordinates, return to the surrounding location of information API.
In fact, I do not understand is that if the landlord can get business information (this is not so simple to fix it), why can not spend money to ask a programmer to get this done?