这里s为表别名,latitude,longitude为经纬度字段 concat(IFNULL(s.latitude, 0), ',', IFNULL(s.longitude, 0)) AS location,
效果以下:git
这个仍是问的cancal团队的人才解决的,哈哈blog