- test getMapCenter
This commit is contained in:
@@ -271,6 +271,7 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
|
|||||||
}
|
}
|
||||||
|
|
||||||
func getMapCenter(storeList []*StoreExt) (lng, lat float64) {
|
func getMapCenter(storeList []*StoreExt) (lng, lat float64) {
|
||||||
|
globals.SugarLogger.Debugf("getMapCenter len(storeList):%d", len(storeList))
|
||||||
if len(storeList) == 0 {
|
if len(storeList) == 0 {
|
||||||
return 0, 0
|
return 0, 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user