MapAbc Ajax 周边Http请求

查询 URL
http://search1.mapabc.com/sisserver?highLight=false&enc=utf-8&ver=2.0
& cityCode=beijing&config=BELSBN&cenName=%E8%A5%BF%E7%9B%B4%E9%97%A8
& searchName=%E9%93%B6%E8%A1%8C&number=2&searchType=
& srctype=&batch=1&range=3000&resType=JSON
& language=&a_k=b0a7db0b3a30f944a21c3682064dc70ef5b738b062f6479a5eca39725798b1ee300bd8d5de3a4ae3
cenName 为查询中心点地址UTF8 字符串, searchName 为要查询的地址类型,比如宾馆,银行等。
number 为每次返回结果数, batch为批次的的序号,可以多次返加结果。
返回 JSON格式

{
    "message": "ok",
    "total": 476,
    "count": 200,
    "poilist": [
        {
            "gridcode": "5916723811",
            "tel": "010-63049609",
            "type": "金融保险服务;银行;中国光大银行",
            "timestamp": "2009-01-15",
            "citycode": "010",
            "distance": "619",
            "buscode": "1",
            "pguid": "B000A817NY",
            "address": "北京市海淀区西直门北大街56号楼生命人寿大厦一层",
            "name": "中国光大银行(学院路支行)",
            "drivedistance": "0",
            "match": "10",
            "srctype": "basepoi",
            "y": "39.9462678",
            "x": "116.3571491"
        },
        {
            "gridcode": "5916722821",
            "xml": "<\/DATA><\/DATA><\/DATA><\/DATA><\/DATA><\/DATA><\/CONTENT>",
            "type": "金融保险服务;银行;中国建设银行",
            "timestamp": "2009-01-15",
            "citycode": "010",
            "distance": "351",
            "pguid": "B000A7MTN4",
            "address": "西直门南大街2号院4",
            "name": "中国建设银行北京西直门支行",
            "drivedistance": "0",
            "match": "10",
            "srctype": "basepoi",
            "y": "39.9395603",
            "x": "116.3568013"
        }
    ],
    "searchtime": 20,
    "cenpoi": {
        "gridcode": "5916722820",
        "xml": "<\/DATA><\/DATA><\/DATA><\/DATA><\/CONTENT>",
        "type": "地名地址信息;地名地址信息;地名地址信息",
        "timestamp": "2009-02-09",
        "citycode": "010",
        "distance": "0",
        "pguid": "B000A82STJ",
        "name": "西直门",
        "match": "11",
        "drivedistance": "0",
        "srctype": "basepoi",
        "y": "39.9414439",
        "x": "116.3534808"
    },
    "pinyin": {
        "list": [
            
        ]
    },
    "cplist": [
        
    ],
    "adlist": [
        
    ]
}


你可能感兴趣的:(Ajax)