- test getMapCenter

This commit is contained in:
gazebo
2019-01-10 09:49:49 +08:00
parent 2497f3db1f
commit 40c3151f3c

View File

@@ -271,6 +271,7 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
}
func getMapCenter(storeList []*StoreExt) (lng, lat float64) {
globals.SugarLogger.Debugf("getMapCenter len(storeList):%d", len(storeList))
if len(storeList) == 0 {
return 0, 0
}