我正在建立一个靠近Foodpanda的食品分销网站。这里将有多家商店,并且只会看到我附近的可用商店。而且,如果我改变位置,商店也会改变。是否有一些简单的应用方法。
Here will be multiple shops and only see the available shops around me. And, if I change my location shops will change also. Is there some easy way of applying it.
1. build a function or class to load shops around the location
2. loop 10s for detect user location or manual set it
3. Execute the (1st) function