获取地图数据接口

简要描述
  • 获取地图数据接口
请求URL
请求方式
  • GET
参数

返回示例

{“msg”:”查询成功”,”code”:200,”data”:[{“province”:”内蒙古自治区”,”latitude”:”40.48”,”num”:27,”id”:1,”longitude”:”111.41”},{“province”:”贵州省”,”latitude”:”26.35”,”num”:94,”id”:2,”longitude”:”106.42”},{“province”:”福建省”,”latitude”:”26.05”,”num”:1111,”id”:3,”longitude”:”119.18”},{“province”:”河南省”,”latitude”:”34.46”,”num”:461,”id”:4,”longitude”:”113.40”},{“province”:”江苏省”,”latitude”:”32.03”,”num”:2701,”id”:5,”longitude”:”118.46”},{“province”:”山东省”,”latitude”:”36.40”,”num”:394,”id”:6,”longitude”:”117.00”},{“province”:”天津市”,”latitude”:”39.02”,”num”:273,”id”:7,”longitude”:”117.12”},{“province”:”黑龙江省”,”latitude”:”45.44”,”num”:118,”id”:8,”longitude”:”126.36”},{“province”:”江西省”,”latitude”:”28.40”,”num”:204,”id”:9,”longitude”:”115.55”},{“province”:”西藏自治区”,”latitude”:”29.39”,”num”:7,”id”:10,”longitude”:”91.08”},{“province”:”甘肃省”,”latitude”:”36.04”,”num”:36,”id”:11,”longitude”:”103.51”},{“province”:”吉林省”,”latitude”:”43.54”,”num”:86,”id”:12,”longitude”:”125.19”},{“province”:”辽宁省”,”latitude”:”41.48”,”num”:201,”id”:13,”longitude”:”123.25”},{“province”:”宁夏自治区”,”latitude”:”38.27”,”num”:30,”id”:14,”longitude”:”106.16”},{“province”:”青海省”,”latitude”:”36.38”,”num”:9,”id”:15,”longitude”:”101.48”},{“province”:”四川省”,”latitude”:”30.40”,”num”:2282,”id”:16,”longitude”:”104.04”},{“province”:”河北省”,”latitude”:”38.02”,”num”:135,”id”:17,”longitude”:”114.30”},{“province”:”安徽省”,”latitude”:”31.52”,”num”:587,”id”:19,”longitude”:”117.17”},{“province”:”湖南省”,”latitude”:”28.12”,”num”:809,”id”:20,”longitude”:”112.59”},{“province”:”山西省”,”latitude”:”37.54”,”num”:44,”id”:21,”longitude”:”112.33”},{“province”:”湖北省”,”latitude”:”30.35”,”num”:2078,”id”:23,”longitude”:”114.17”},{“province”:”海南省”,”latitude”:”20.02”,”num”:74,”id”:24,”longitude”:”110.20”},{“province”:”浙江省”,”latitude”:”30.16”,”num”:3132,”id”:25,”longitude”:”120.10”},{“province”:”重庆市”,”latitude”:”29.59”,”num”:1023,”id”:26,”longitude”:”106.54”},{“province”:”陕西省”,”latitude”:”34.17”,”num”:1012,”id”:27,”longitude”:”108.57”},{“province”:”北京市”,”latitude”:”39.55”,”num”:5848,”id”:29,”longitude”:”116.24”},{“province”:”广西省”,”latitude”:”22.48”,”num”:480,”id”:30,”longitude”:”108.19”},{“province”:”云南省”,”latitude”:”25.04”,”num”:347,”id”:31,”longitude”:”102.42”},{“province”:”新疆自治区”,”latitude”:”43.45”,”num”:82,”id”:32,”longitude”:”87.36”},{“province”:”广东省”,”latitude”:”23.08”,”num”:10723,”id”:33,”longitude”:”113.14”},{“province”:”上海市”,”latitude”:”31.14”,”num”:7421,”id”:34,”longitude”:”121.29”}]}

返回参数说明
参数名 类型 说明
code int 响应的状态码 200成功 404失败
msg string 响应状态码附加的消息
data jsonArray 地图的数据
备注
  • 更多返回错误代码请看首页的错误代码描述