hhudata

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

 

一、分类查询

new BMap.LocalSearch.search(keyword)

[{
    "keyword": "招商银行",
    "Nv": 0,
    "Gu": 10,
    "Cm": 128,
    "Gv": 13,
    "city": "南京市",
    "province": "江苏省",
    "moreResultsUrl": "http://api.map.baidu.com/place/search?res=jsapi&query=招商银行&region=南京市&output=html",
    "ki": [{
        "title": "招商银行(江宁支行)",
        "uid": "fe448e6493e3786817b54bfb",
        "point": {
            "lng": 118.816422,
            "lat": 31.950315
        },
        "url": "http://map.baidu.com/?s=inf&uid=fe448e6493e3786817b54bfb&c=315&i=0&sr=1",
        "address": "江宁区胜太路18号(近湖滨路)",
        "city": "南京市",
        "province": "江苏省",
        "phoneNumber": "(025)52769166",
        "postcode": "211100",
        "type": 0,
        "isAccurate": false,
        "tags": ["金融", "银行", "招商银行"]
    }
View Code

 查询 “招商银行”

招商银行(江宁支行) 江宁区胜太路18号(近湖滨路) (118.816422,31.950315)
招商银行(雨花支行) 郁金香路6 (118.802548,31.994653)
招商银行(仙林支行) 南京市文枢东路2号 (118.916601,32.101366)
招商银行(奥体支行) 南京市兴隆大街188号 (118.732505,32.024292)
招商银行(雨润大街支行) 雨润大街41号 (118.728411,31.989455)
招商银行 鼓楼区凤凰西街317号 (118.751051,32.046522

 查询 “银行”

名称 地址 位置
中国银行(梅花山庄支行) 南京市苜蓿园大街60号 (118.838152,32.039283)
招商银行(江宁支行) 江宁区胜太路18号(近湖滨路) (118.816422,31.950315)
中国农业银行(百家湖分理处) 南京市江宁经济技术开发区胜太西路19号 (118.812598,31.950016)
中国工商银行(胜太路支行) 江宁开发区胜太东路36号 (118.831956,31.950912

 

 查询 “加油站”

南京白下高新园便利加油站 石杨路附近 (118.876723,32.012352)
加油站(百水桥村) 122省道队麒麟镇百水村段麒麟镇工商所以西方向 (118.919633,32.059873)
加油站 下关区建宁路265号于家巷幼儿园以北(于家巷26号小区北) (118.75714,32.097405)
中国石化(翠屏山宾馆加油站) 江宁开发区天元西路168号 (118.801982,31.935883

 

二、公交到达

 

new BMap.TransitRoute()search(startPoint,endPoint)

[[{"lng":118.802718,"lat":32.064569},{"lng":118.802861,"lat":32.064534},{"lng":118.803021,"lat":32.064505},{"lng":118.80331,"lat":32.064445},{"lng":118.804,"lat":32.064298},{"lng":118.804379,"lat":32.064208},{"lng":118.804439,"lat":32.064188},{"lng":118.804599,"lat":32.064128},{"lng":118.804819,"lat":32.064059},{"lng":118.804949,"lat":32.064029},{"lng":118.805025,"lat":32.064012},{"lng":118.804439,"lat":32.063608},{"lng":118.80444,"lat":32.063609}],[{"lng":118.805351,"lat":31.976691},{"lng":118.805343,"lat":31.976688},{"lng":118.805343,"lat":31.976688},{"lng":118.804424,"lat":31.976037},{"lng":118.804264,"lat":31.975986},{"lng":118.804264,"lat":31.975976},{"lng":118.804745,"lat":31.975007},{"lng":118.804715,"lat":31.974998},{"lng":118.804722,"lat":31.975004}],[{"lng":118.823612,"lat":31.970204},{"lng":118.823604,"lat":31.970195},{"lng":118.823604,"lat":31.970195},{"lng":118.823584,"lat":31.970196},{"lng":118.823363,"lat":31.970629},{"lng":118.823363,"lat":31.970629},{"lng":118.823132,"lat":31.970542},{"lng":118.823132,"lat":31.970542},{"lng":118.823375,"lat":31.970306},{"lng":118.823375,"lat":31.970307}],[{"lng":118.848442,"lat":31.957966},{"lng":118.848428,"lat":31.957962},{"lng":118.848404,"lat":31.958038},{"lng":118.848375,"lat":31.958128},{"lng":118.848224,"lat":31.958561},{"lng":118.847651,"lat":31.95845},{"lng":118.84736,"lat":31.958384},{"lng":118.847179,"lat":31.958347},{"lng":118.846657,"lat":31.958245},{"lng":118.846647,"lat":31.958243}],[{"lng":118.802718,"lat":32.064569},{"lng":118.802861,"lat":32.064534},{"lng":118.803021,"lat":32.064505},{"lng":118.80331,"lat":32.064445},{"lng":118.804,"lat":32.064298},{"lng":118.804379,"lat":32.064208},{"lng":118.804439,"lat":32.064188},{"lng":118.804599,"lat":32.064128},{"lng":118.804819,"lat":32.064059},{"lng":118.804949,"lat":32.064029},{"lng":118.805025,"lat":32.064012},{"lng":118.804439,"lat":32.063608},{"lng":118.80444,"lat":32.063609}],[{"lng":118.805351,"lat":31.976691},{"lng":118.805343,"lat":31.976688},{"lng":118.805343,"lat":31.976688},{"lng":118.804424,"lat":31.976037},{"lng":118.804264,"lat":31.975986},{"lng":118.804264,"lat":31.975976},{"lng":118.804745,"lat":31.975007},{"lng":118.804715,"lat":31.974998},{"lng":118.804722,"lat":31.975004}],[{"lng":118.823612,"lat":31.970204},{"lng":118.823604,"lat":31.970195},{"lng":118.823604,"lat":31.970195},{"lng":118.823584,"lat":31.970196},{"lng":118.823363,"lat":31.970629},{"lng":118.823363,"lat":31.970629},{"lng":118.823132,"lat":31.970542},{"lng":118.823132,"lat":31.970542},{"lng":118.823307,"lat":31.970437},{"lng":118.823308,"lat":31.970437}],[{"lng":118.848478,"lat":31.957885},{"lng":118.848454,"lat":31.957878},{"lng":118.848404,"lat":31.958038},{"lng":118.848375,"lat":31.958128},{"lng":118.848224,"lat":31.958561},{"lng":118.847651,"lat":31.95845},{"lng":118.84736,"lat":31.958384},{"lng":118.847179,"lat":31.958347},{"lng":118.846657,"lat":31.958245},{"lng":118.846647,"lat":31.958243}],[{"lng":118.802718,"lat":32.064569},{"lng":118.802701,"lat":32.064574},{"lng":118.802261,"lat":32.064682},{"lng":118.801772,"lat":32.06482},{"lng":118.801562,"lat":32.064849},{"lng":118.801663,"lat":32.065099},{"lng":118.801945,"lat":32.065639},{"lng":118.801914,"lat":32.065652}],[{"lng":118.802202,"lat":32.000223},{"lng":118.802202,"lat":32.000223},{"lng":118.802211,"lat":32.000165},{"lng":118.802211,"lat":32.000165}],[{"lng":118.848442,"lat":31.957966},{"lng":118.848428,"lat":31.957962},{"lng":118.848404,"lat":31.958038},{"lng":118.848375,"lat":31.958128},{"lng":118.848224,"lat":31.958561},{"lng":118.847651,"lat":31.95845},{"lng":118.84736,"lat":31.958384},{"lng":118.847179,"lat":31.958347},{"lng":118.846657,"lat":31.958245},{"lng":118.846647,"lat":31.958243}],[{"lng":118.802718,"lat":32.064569},{"lng":118.802861,"lat":32.064534},{"lng":118.803021,"lat":32.064505},{"lng":118.80331,"lat":32.064445},{"lng":118.804,"lat":32.064298},{"lng":118.804379,"lat":32.064208},{"lng":118.804439,"lat":32.064188},{"lng":118.804599,"lat":32.064128},{"lng":118.804819,"lat":32.064059},{"lng":118.804949,"lat":32.064029},{"lng":118.805025,"lat":32.064012},{"lng":118.804439,"lat":32.063608},{"lng":118.80444,"lat":32.063609}],[{"lng":118.805351,"lat":31.976691},{"lng":118.805343,"lat":31.976688},{"lng":118.805343,"lat":31.976688},{"lng":118.804424,"lat":31.976037},{"lng":118.804264,"lat":31.975986},{"lng":118.804264,"lat":31.975976},{"lng":118.804745,"lat":31.975007},{"lng":118.804715,"lat":31.974998},{"lng":118.804722,"lat":31.975004}],[{"lng":118.82664,"lat":31.958253},{"lng":118.826631,"lat":31.958251},{"lng":118.826631,"lat":31.958251},{"lng":118.826631,"lat":31.958241},{"lng":118.826652,"lat":31.95816},{"lng":118.826933,"lat":31.958195},{"lng":118.826973,"lat":31.958205},{"lng":118.826873,"lat":31.958205},{"lng":118.826873,"lat":31.958656},{"lng":118.826883,"lat":31.958706},{"lng":118.826902,"lat":31.958766},{"lng":118.826943,"lat":31.958795},{"lng":118.827053,"lat":31.958883},{"lng":118.827184,"lat":31.958882},{"lng":118.828189,"lat":31.958855},{"lng":118.828701,"lat":31.958856},{"lng":118.829183,"lat":31.958848},{"lng":118.829414,"lat":31.958844},{"lng":118.829736,"lat":31.958848},{"lng":118.830057,"lat":31.958843},{"lng":118.831193,"lat":31.958833},{"lng":118.831292,"lat":31.95883},{"lng":118.831866,"lat":31.95884},{"lng":118.832107,"lat":31.958836},{"lng":118.833393,"lat":31.958862},{"lng":118.833925,"lat":31.958862},{"lng":118.83478,"lat":31.958867},{"lng":118.835202,"lat":31.958879},{"lng":118.835363,"lat":31.958876},{"lng":118.835463,"lat":31.958885},{"lng":118.835604,"lat":31.958872},{"lng":118.835674,"lat":31.95887},{"lng":118.835744,"lat":31.958859},{"lng":118.836519,"lat":31.958745},{"lng":118.83691,"lat":31.958688},{"lng":118.836971,"lat":31.958666},{"lng":118.837242,"lat":31.958601},{"lng":118.837282,"lat":31.95868},{"lng":118.837464,"lat":31.958637},{"lng":118.837634,"lat":31.958594},{"lng":118.837785,"lat":31.958561},{"lng":118.838057,"lat":31.958486},{"lng":118.838117,"lat":31.958475},{"lng":118.838318,"lat":31.958421},{"lng":118.838458,"lat":31.958378},{"lng":118.83878,"lat":31.958283},{"lng":118.838911,"lat":31.958241},{"lng":118.839072,"lat":31.958188},{"lng":118.839192,"lat":31.958156},{"lng":118.840469,"lat":31.957792},{"lng":118.841202,"lat":31.957589},{"lng":118.842509,"lat":31.957225},{"lng":118.84304,"lat":31.957436},{"lng":118.843302,"lat":31.957531},{"lng":118.843332,"lat":31.957541},{"lng":118.843654,"lat":31.957665},{"lng":118.843986,"lat":31.95771},{"lng":118.845422,"lat":31.957995},{"lng":118.845894,"lat":31.958087},{"lng":118.846285,"lat":31.958171},{"lng":118.846647,"lat":31.958243}],[{"lng":118.802718,"lat":32.064569},{"lng":118.802861,"lat":32.064534},{"lng":118.802941,"lat":32.064474},{"lng":118.802951,"lat":32.064434},{"lng":118.802951,"lat":32.064385},{"lng":118.802891,"lat":32.064184},{"lng":118.803211,"lat":32.064125},{"lng":118.803211,"lat":32.064095},{"lng":118.8033,"lat":32.063975},{"lng":118.80333,"lat":32.063966},{"lng":118.80381,"lat":32.063857},{"lng":118.80379,"lat":32.063806},{"lng":118.80379,"lat":32.063787},{"lng":118.803839,"lat":32.063516},{"lng":118.80375,"lat":32.063276},{"lng":118.804259,"lat":32.063118},{"lng":118.804298,"lat":32.063108},{"lng":118.804429,"lat":32.063068},{"lng":118.804399,"lat":32.062968},{"lng":118.804378,"lat":32.062888},{"lng":118.804218,"lat":32.06215},{"lng":118.804171,"lat":32.062158}],[{"lng":118.822546,"lat":32.031215},{"lng":118.822563,"lat":32.031213},{"lng":118.822532,"lat":32.030903},{"lng":118.822461,"lat":32.030914},{"lng":118.822441,"lat":32.030784},{"lng":118.82234,"lat":32.029745},{"lng":118.821517,"lat":32.029816},{"lng":118.820886,"lat":32.029894},{"lng":118.820474,"lat":32.02993},{"lng":118.819461,"lat":32.030022},{"lng":118.81945,"lat":32.029882},{"lng":118.81904,"lat":32.029917},{"lng":118.819037,"lat":32.029884},{"lng":118.819038,"lat":32.029885}],[{"lng":118.83811,"lat":31.958329},{"lng":118.838129,"lat":31.958378},{"lng":118.838288,"lat":31.958332},{"lng":118.838438,"lat":31.958289},{"lng":118.838739,"lat":31.958194},{"lng":118.83888,"lat":31.958151},{"lng":118.839162,"lat":31.958076},{"lng":118.840438,"lat":31.957713},{"lng":118.841172,"lat":31.957499},{"lng":118.842418,"lat":31.957147},{"lng":118.842509,"lat":31.957225},{"lng":118.84304,"lat":31.957436},{"lng":118.843302,"lat":31.957531},{"lng":118.843332,"lat":31.957541},{"lng":118.843654,"lat":31.957665},{"lng":118.843986,"lat":31.95771},{"lng":118.845422,"lat":31.957995},{"lng":118.845894,"lat":31.958087},{"lng":118.846285,"lat":31.958171},{"lng":118.846647,"lat":31.958243}]]
路径点


乘公共交通工具前往 江宁区 的路线

南京市
1.
17.1 公里 / 1 小时10分钟
步行约230米,到达鸡鸣寺,乘坐地铁3号线,经过10站,到达南京南站步行约290米,到达南京南站,乘坐地铁1号线,经过1站,到达双龙大道步行约130米,到达岔路口,乘坐701路,经过7站,到达府东路步行约230米,到达终点
2.
17.1 公里 / 1 小时10分钟
步行约230米,到达鸡鸣寺,乘坐地铁3号线,经过10站,到达南京南站步行约290米,到达南京南站,乘坐地铁1号线,经过1站,到达双龙大道步行约110米,到达岔路口,乘坐y21路夜间,经过7站,到达府东路步行约230米,到达终点

 

三、驾车到达

查询

 new BMap.DrivingRoute.search(startPoint, endPoint);

结果

 

{
    "city": "南京市",
    "sw": {
        "title": "起点",
        "uid": "",
        "url": "",
        "point": {
            "lng": 118.7946,
            "lat": 31.9215
        },
        "city": "南京市"
    },
    "Lu": {
        "title": "终点",
        "uid": "",
        "url": "",
        "point": {
            "lng": 118.7918,
            "lat": 31.915
        },
        "city": "南京市"
    },
    "Jm": [{
        "Xg": [{
            "Tm": [{
                "Pv": {
                    "lng": 118.794298,
                    "lat": 31.921486
                },
                "bf": 0,
                "Vh": "从<b>起点</b>向正南方向出发",
                "fd": 422,
                "fw": 0,
                "Im": 0
            }, {
                "Pv": {
                    "lng": 118.792859,
                    "lat": 31.918168
                },
                "bf": 1,
                "Vh": "沿<b>黄河路</b>行驶420米,<b>右转</b>进入<b>淮河路</b>",
                "fd": 47,
                "fw": 0,
                "Im": 0
            }, {
                "Pv": {
                    "lng": 118.792361,
                    "lat": 31.918162
                },
                "bf": 2,
                "Vh": "沿<b>淮河路</b>行驶50米,<b>左转</b>进入<b>黄河路</b>",
                "fd": 93,
                "fw": 0,
                "Im": 0
            }, {
                "Pv": {
                    "lng": 118.79242,
                    "lat": 31.917322
                },
                "bf": 3,
                "Vh": "沿<b>黄河路</b>行驶70米,过左侧的<b>河海大学江宁校区南门</b>,<b>右转</b>进入<b>佛城西路</b>",
                "fd": 112,
                "fw": 0,
                "Im": 0
            }, {
                "Pv": {
                    "lng": 118.791384,
                    "lat": 31.917079
                },
                "bf": 4,
                "Vh": "沿<b>佛城西路</b>行驶110米,<b>调头</b>",
                "fd": 34,
                "fw": 0,
                "Im": 0
            }, {
                "Pv": {
                    "lng": 118.791742,
                    "lat": 31.917134
                },
                "bf": 5,
                "Vh": "继续沿<b>佛城西路</b>行驶30米,<b>右前方转弯</b><b></b>",
                "fd": 32,
                "fw": 0,
                "Im": 0
            }, {
                "Pv": {
                    "lng": 118.791961,
                    "lat": 31.916947
                },
                "bf": 6,
                "Vh": "<b></b>行驶30米,<b>右前方转弯</b>",
                "fd": 102,
                "fw": 0,
                "Im": 0
            }, {
                "Pv": {
                    "lng": 118.791961,
                    "lat": 31.916036
                },
                "bf": 7,
                "Vh": "<b></b>行驶100米,<b>右转</b>",
                "fd": 72,
                "fw": 0,
                "Im": 0
            }, {
                "Pv": {
                    "lng": 118.791213,
                    "lat": 31.915927
                },
                "bf": 8,
                "Vh": "<b></b>行驶70米,<b>左转</b>",
                "fd": 94,
                "fw": 0,
                "Im": 0
            }, {
                "Pv": {
                    "lng": 118.791312,
                    "lat": 31.915078
                },
                "bf": 9,
                "Vh": "<b></b>行驶90米,到达<b>终点</b>",
                "fd": 0,
                "fw": 0,
                "Im": 0
            }],
            "fd": 1008,
            "bf": 0,
            "ji": [{
                "lng": 118.794298,
                "lat": 31.921486
            }, {
                "lng": 118.794298,
                "lat": 31.921336
            }, {
                "lng": 118.794308,
                "lat": 31.921016
            }, {
                "lng": 118.794308,
                "lat": 31.920896
            }, {
                "lng": 118.794308,
                "lat": 31.920826
            }, {
                "lng": 118.794248,
                "lat": 31.920495
            }, {
                "lng": 118.794028,
                "lat": 31.920303
            }, {
                "lng": 118.793729,
                "lat": 31.920089
            }, {
                "lng": 118.79353,
                "lat": 31.919947
            }, {
                "lng": 118.7934,
                "lat": 31.919856
            }, {
                "lng": 118.793111,
                "lat": 31.919652
            }, {
                "lng": 118.792981,
                "lat": 31.919511
            }, {
                "lng": 118.792901,
                "lat": 31.91939
            }, {
                "lng": 118.792871,
                "lat": 31.919289
            }, {
                "lng": 118.792871,
                "lat": 31.919249
            }, {
                "lng": 118.792862,
                "lat": 31.919149
            }, {
                "lng": 118.792861,
                "lat": 31.918939
            }, {
                "lng": 118.792861,
                "lat": 31.918169
            }, {
                "lng": 118.792859,
                "lat": 31.918168
            }, {
                "lng": 118.792361,
                "lat": 31.918162
            }, {
                "lng": 118.792361,
                "lat": 31.918162
            }, {
                "lng": 118.792391,
                "lat": 31.917572
            }, {
                "lng": 118.79242,
                "lat": 31.917323
            }, {
                "lng": 118.79242,
                "lat": 31.917322
            }, {
                "lng": 118.791713,
                "lat": 31.917223
            }, {
                "lng": 118.791364,
                "lat": 31.917169
            }, {
                "lng": 118.791384,
                "lat": 31.917079
            }, {
                "lng": 118.791384,
                "lat": 31.917079
            }, {
                "lng": 118.791742,
                "lat": 31.917134
            }, {
                "lng": 118.791742,
                "lat": 31.917134
            }, {
                "lng": 118.791942,
                "lat": 31.917016
            }, {
                "lng": 118.791971,
                "lat": 31.916987
            }, {
                "lng": 118.791962,
                "lat": 31.916947
            }, {
                "lng": 118.791961,
                "lat": 31.916947
            }, {
                "lng": 118.791941,
                "lat": 31.916806
            }, {
                "lng": 118.791922,
                "lat": 31.916646
            }, {
                "lng": 118.791902,
                "lat": 31.916546
            }, {
                "lng": 118.791902,
                "lat": 31.916506
            }, {
                "lng": 118.791902,
                "lat": 31.916396
            }, {
                "lng": 118.791911,
                "lat": 31.916336
            }, {
                "lng": 118.791921,
                "lat": 31.916246
            }, {
                "lng": 118.791961,
                "lat": 31.916037
            }, {
                "lng": 118.791961,
                "lat": 31.916036
            }, {
                "lng": 118.791213,
                "lat": 31.915927
            }, {
                "lng": 118.791213,
                "lat": 31.915927
            }, {
                "lng": 118.791223,
                "lat": 31.915837
            }, {
                "lng": 118.791233,
                "lat": 31.915637
            }, {
                "lng": 118.791243,
                "lat": 31.915577
            }, {
                "lng": 118.791253,
                "lat": 31.915437
            }, {
                "lng": 118.791263,
                "lat": 31.915398
            }, {
                "lng": 118.791312,
                "lat": 31.915078
            }],
            "Im": 0,
            "gw": 3
        }],
        "fd": 1017,
        "Yh": 157,
        "Iu": []
    }],
    "moreResultsUrl": "http://map.baidu.com/?s=nav&c=315&sc=315&ec=315&sy=0&sn=1$$$$13224298.27,3730209.67$$$$$$&en=1$$$$13223986.57,3729361.36$$$$$$&sq=[object Object]&eq=[object Object]&sr=1",
    "taxiFare": {
        "distance": 1017,
        "remark": "全程1.0公里;3.0公里起步;燃油附加费1.0元;里程超过8.0公里,超过部分每公里收3.0元。",
        "day": {
            "initialFare": 9,
            "unitFare": 2,
            "totalFare": 10
        },
        "night": {
            "initialFare": 11,
            "unitFare": 2.7,
            "totalFare": 12
        }
    },
    "tw": 0,
    "Mu": 0,
    "policy": 0
}
转向点

 

[[{"lng":118.794298,"lat":31.921486},{"lng":118.794298,"lat":31.921336},{"lng":118.794308,"lat":31.921016},{"lng":118.794308,"lat":31.920896},{"lng":118.794308,"lat":31.920826},{"lng":118.794248,"lat":31.920495},{"lng":118.794028,"lat":31.920303},{"lng":118.793729,"lat":31.920089},{"lng":118.79353,"lat":31.919947},{"lng":118.7934,"lat":31.919856},{"lng":118.793111,"lat":31.919652},{"lng":118.792981,"lat":31.919511},{"lng":118.792901,"lat":31.91939},{"lng":118.792871,"lat":31.919289},{"lng":118.792871,"lat":31.919249},{"lng":118.792862,"lat":31.919149},{"lng":118.792861,"lat":31.918939},{"lng":118.792861,"lat":31.918169},{"lng":118.792859,"lat":31.918168},{"lng":118.792361,"lat":31.918162},{"lng":118.792361,"lat":31.918162},{"lng":118.792391,"lat":31.917572},{"lng":118.79242,"lat":31.917323},{"lng":118.79242,"lat":31.917322},{"lng":118.791713,"lat":31.917223},{"lng":118.791364,"lat":31.917169},{"lng":118.791384,"lat":31.917079},{"lng":118.791384,"lat":31.917079},{"lng":118.791742,"lat":31.917134},{"lng":118.791742,"lat":31.917134},{"lng":118.791942,"lat":31.917016},{"lng":118.791971,"lat":31.916987},{"lng":118.791962,"lat":31.916947},{"lng":118.791961,"lat":31.916947},{"lng":118.791941,"lat":31.916806},{"lng":118.791922,"lat":31.916646},{"lng":118.791902,"lat":31.916546},{"lng":118.791902,"lat":31.916506},{"lng":118.791902,"lat":31.916396},{"lng":118.791911,"lat":31.916336},{"lng":118.791921,"lat":31.916246},{"lng":118.791961,"lat":31.916037},{"lng":118.791961,"lat":31.916036},{"lng":118.791213,"lat":31.915927},{"lng":118.791213,"lat":31.915927},{"lng":118.791223,"lat":31.915837},{"lng":118.791233,"lat":31.915637},{"lng":118.791243,"lat":31.915577},{"lng":118.791253,"lat":31.915437},{"lng":118.791263,"lat":31.915398},{"lng":118.791312,"lat":31.915078}]]
路径点

 

driving.getResults().getPlan(0).getRoute(0).getPath()

 

方案 路线 序号 转折 位置 转向
方案1 路线1 总点数600
1 1 1 (118.755751,32.064228) 起点向正东方向出发
1 1 2 (118.762352,32.066163) 沿草场门大街行驶670米,右转进入虎踞路
1 1 3 (118.763403,32.057886) 沿虎踞路行驶930米,朝集庆门大街/赛虹桥立交/S001/绕城高速方向稍向左转

 

四、公交线路

 new BMap.BusLineSearch().getBusList('name')

 

{
    "name": "3",
    "line": [
        [1, "随家仓"],
        [2, "南阴阳营"],
        [3, "山阴路"],
        [4, "西康路"],
        [5, "玉泉路"],
        [6, "莫干路"],
        [7, "江苏路"],
        [8, "傅佐路"],
        [9, "湖南路"],
        [10, "玄武门"],
        [11, "中央路·鼓楼"],
        [12, "北京东路·进香河路"],
        [13, "太平北路·鸡鸣寺"],
        [14, "太平北路·四牌楼"],
        [15, "大行宫北"],
        [16, "南京图书馆"],
        [17, "新街口东"],
        [18, "新街口西"],
        [19, "大锏银巷"],
        [20, "五台山"],
        [21, "永庆巷"],
        [22, "拉萨路"],
        [23, "脑科医院"],
        [24, "随家仓"]
    ]
}
站点

 

[{"lng":118.7787,"lat":32.057514},{"lng":118.77819,"lat":32.057629},{"lng":118.778004,"lat":32.057671},{"lng":118.778042,"lat":32.057972},{"lng":118.778153,"lat":32.058843},{"lng":118.778244,"lat":32.059556},{"lng":118.778255,"lat":32.059666},{"lng":118.778271,"lat":32.059817},{"lng":118.778297,"lat":32.060078},{"lng":118.778373,"lat":32.060819},{"lng":118.77746,"lat":32.060821},{"lng":118.777228,"lat":32.060815},{"lng":118.776922,"lat":32.060807},{"lng":118.776574,"lat":32.060798},{"lng":118.776235,"lat":32.06079},{"lng":118.775628,"lat":32.060774},{"lng":118.774573,"lat":32.060747},{"lng":118.773589,"lat":32.060824},{"lng":118.773455,"lat":32.060836},{"lng":118.772495,"lat":32.060919},{"lng":118.771698,"lat":32.060908},{"lng":118.770464,"lat":32.060892},{"lng":118.7706,"lat":32.06145},{"lng":118.770674,"lat":32.061756},{"lng":118.770813,"lat":32.062349},{"lng":118.770872,"lat":32.06275},{"lng":118.770924,"lat":32.063861},{"lng":118.770954,"lat":32.064502},{"lng":118.770967,"lat":32.064792},{"lng":118.770998,"lat":32.065473},{"lng":118.771014,"lat":32.065803},{"lng":118.771034,"lat":32.066233},{"lng":118.771703,"lat":32.066145},{"lng":118.772248,"lat":32.066065},{"lng":118.772404,"lat":32.066043},{"lng":118.772867,"lat":32.065976},{"lng":118.773833,"lat":32.065836},{"lng":118.776692,"lat":32.065416},{"lng":118.776786,"lat":32.065405},{"lng":118.776656,"lat":32.065797},{"lng":118.776584,"lat":32.065871},{"lng":118.7764,"lat":32.066334},{"lng":118.776323,"lat":32.066548},{"lng":118.776282,"lat":32.066654},{"lng":118.776202,"lat":32.066858},{"lng":118.775964,"lat":32.067493},{"lng":118.776031,"lat":32.067592},{"lng":118.77604,"lat":32.067716},{"lng":118.776804,"lat":32.068382},{"lng":118.777483,"lat":32.068973},{"lng":118.777583,"lat":32.069125},{"lng":118.777613,"lat":32.069325},{"lng":118.777603,"lat":32.069655},{"lng":118.777533,"lat":32.069884},{"lng":118.777325,"lat":32.07011},{"lng":118.777053,"lat":32.070333},{"lng":118.776798,"lat":32.070542},{"lng":118.776788,"lat":32.07055},{"lng":118.776618,"lat":32.070707},{"lng":118.776104,"lat":32.071091},{"lng":118.775928,"lat":32.071222},{"lng":118.775883,"lat":32.071371},{"lng":118.776575,"lat":32.071959},{"lng":118.776715,"lat":32.072078},{"lng":118.776728,"lat":32.072089},{"lng":118.776873,"lat":32.072217},{"lng":118.777207,"lat":32.072507},{"lng":118.778281,"lat":32.073438},{"lng":118.778507,"lat":32.073634},{"lng":118.778772,"lat":32.073863},{"lng":118.77949,"lat":32.074485},{"lng":118.779623,"lat":32.074584},{"lng":118.779921,"lat":32.07476},{"lng":118.780311,"lat":32.074817},{"lng":118.780747,"lat":32.074862},{"lng":118.781136,"lat":32.074901},{"lng":118.781231,"lat":32.074914},{"lng":118.782828,"lat":32.075131},{"lng":118.782967,"lat":32.075133},{"lng":118.784082,"lat":32.075153},{"lng":118.785216,"lat":32.075218},{"lng":118.785455,"lat":32.075231},{"lng":118.786192,"lat":32.075273},{"lng":118.786849,"lat":32.075311},{"lng":118.786959,"lat":32.075317},{"lng":118.788374,"lat":32.075398},{"lng":118.78922,"lat":32.075446},{"lng":118.789319,"lat":32.075452},{"lng":118.790566,"lat":32.075521},{"lng":118.790565,"lat":32.074465},{"lng":118.790565,"lat":32.073465},{"lng":118.790564,"lat":32.073105},{"lng":118.790564,"lat":32.072495},{"lng":118.790564,"lat":32.072195},{"lng":118.790564,"lat":32.071285},{"lng":118.790564,"lat":32.071055},{"lng":118.790454,"lat":32.070604},{"lng":118.790454,"lat":32.070253},{"lng":118.790454,"lat":32.069833},{"lng":118.790454,"lat":32.068913},{"lng":118.790453,"lat":32.067853},{"lng":118.790453,"lat":32.066993},{"lng":118.790453,"lat":32.066889},{"lng":118.790453,"lat":32.066716},{"lng":118.790452,"lat":32.065803},{"lng":118.790392,"lat":32.065542},{"lng":118.790273,"lat":32.065361},{"lng":118.790261,"lat":32.06507},{"lng":118.790253,"lat":32.06486},{"lng":118.790263,"lat":32.06473},{"lng":118.790272,"lat":32.064601},{"lng":118.790382,"lat":32.064472},{"lng":118.790531,"lat":32.064394},{"lng":118.790681,"lat":32.064386},{"lng":118.7909,"lat":32.064489},{"lng":118.79101,"lat":32.06469},{"lng":118.793551,"lat":32.064526},{"lng":118.79365,"lat":32.064519},{"lng":118.794866,"lat":32.06444},{"lng":118.796021,"lat":32.064365},{"lng":118.796223,"lat":32.064352},{"lng":118.79735,"lat":32.064277},{"lng":118.798677,"lat":32.064226},{"lng":118.799465,"lat":32.064197},{"lng":118.800986,"lat":32.06415},{"lng":118.801343,"lat":32.064128},{"lng":118.801662,"lat":32.06405},{"lng":118.802042,"lat":32.063902},{"lng":118.802455,"lat":32.063626},{"lng":118.803354,"lat":32.063315},{"lng":118.803714,"lat":32.063196},{"lng":118.804241,"lat":32.063021},{"lng":118.804399,"lat":32.062969},{"lng":118.804283,"lat":32.062452},{"lng":118.8041,"lat":32.061639},{"lng":118.80394,"lat":32.060925},{"lng":118.803792,"lat":32.060277},{"lng":118.803698,"lat":32.059868},{"lng":118.803673,"lat":32.059757},{"lng":118.803513,"lat":32.059056},{"lng":118.803476,"lat":32.058896},{"lng":118.80332,"lat":32.058214},{"lng":118.803282,"lat":32.058045},{"lng":118.803128,"lat":32.057374},{"lng":118.80307,"lat":32.057118},{"lng":118.803042,"lat":32.056994},{"lng":118.802934,"lat":32.056523},{"lng":118.802811,"lat":32.055981},{"lng":118.802573,"lat":32.05493},{"lng":118.802553,"lat":32.05484},{"lng":118.802337,"lat":32.053888},{"lng":118.802282,"lat":32.053649},{"lng":118.802117,"lat":32.052918},{"lng":118.801965,"lat":32.05225},{"lng":118.801962,"lat":32.052236},{"lng":118.801944,"lat":32.052156},{"lng":118.801835,"lat":32.051639},{"lng":118.801763,"lat":32.051299},{"lng":118.801616,"lat":32.050597},{"lng":118.801401,"lat":32.049575},{"lng":118.801392,"lat":32.049485},{"lng":118.801287,"lat":32.048456},{"lng":118.801186,"lat":32.047464},{"lng":118.801189,"lat":32.047387},{"lng":118.800729,"lat":32.047422},{"lng":118.799671,"lat":32.047486},{"lng":118.798752,"lat":32.047543},{"lng":118.798652,"lat":32.047549},{"lng":118.797934,"lat":32.047593},{"lng":118.797509,"lat":32.047619},{"lng":118.79727,"lat":32.047634},{"lng":118.797086,"lat":32.047645},{"lng":118.796427,"lat":32.047686},{"lng":118.796158,"lat":32.047702},{"lng":118.794692,"lat":32.047793},{"lng":118.794513,"lat":32.047804},{"lng":118.793536,"lat":32.047864},{"lng":118.792819,"lat":32.047908},{"lng":118.79257,"lat":32.047924},{"lng":118.791065,"lat":32.048017},{"lng":118.790667,"lat":32.048041},{"lng":118.790557,"lat":32.048048},{"lng":118.789989,"lat":32.048083},{"lng":118.789432,"lat":32.048109},{"lng":118.788993,"lat":32.04813},{"lng":118.788088,"lat":32.048173},{"lng":118.787988,"lat":32.048178},{"lng":118.787261,"lat":32.048212},{"lng":118.786803,"lat":32.048234},{"lng":118.786801,"lat":32.048234},{"lng":118.785284,"lat":32.048315},{"lng":118.784966,"lat":32.048333},{"lng":118.784329,"lat":32.048367},{"lng":118.782831,"lat":32.048447},{"lng":118.783105,"lat":32.049613},{"lng":118.783159,"lat":32.049844},{"lng":118.783195,"lat":32.049998},{"lng":118.783211,"lat":32.050064},{"lng":118.783312,"lat":32.050476},{"lng":118.783365,"lat":32.050706},{"lng":118.783391,"lat":32.050818},{"lng":118.783391,"lat":32.051052},{"lng":118.783391,"lat":32.051138},{"lng":118.7834,"lat":32.051348},{"lng":118.783413,"lat":32.051688},{"lng":118.783422,"lat":32.051888},{"lng":118.783431,"lat":32.052109},{"lng":118.783502,"lat":32.05234},{"lng":118.783865,"lat":32.05295},{"lng":118.783751,"lat":32.052954},{"lng":118.783522,"lat":32.05289},{"lng":118.782646,"lat":32.052455},{"lng":118.782487,"lat":32.052402},{"lng":118.782318,"lat":32.052379},{"lng":118.78166,"lat":32.052384},{"lng":118.781552,"lat":32.052385},{"lng":118.780992,"lat":32.052316},{"lng":118.780874,"lat":32.052303},{"lng":118.780665,"lat":32.05228},{"lng":118.77969,"lat":32.052171},{"lng":118.77968,"lat":32.052261},{"lng":118.779611,"lat":32.05238},{"lng":118.779289,"lat":32.052792},{"lng":118.778816,"lat":32.053395},{"lng":118.778667,"lat":32.053503},{"lng":118.778498,"lat":32.053549},{"lng":118.778125,"lat":32.053589},{"lng":118.777945,"lat":32.053612},{"lng":118.777722,"lat":32.053665},{"lng":118.777464,"lat":32.05383},{"lng":118.777106,"lat":32.054203},{"lng":118.777022,"lat":32.054292},{"lng":118.776286,"lat":32.055072},{"lng":118.776559,"lat":32.055733},{"lng":118.776725,"lat":32.056047},{"lng":118.776778,"lat":32.056148},{"lng":118.776838,"lat":32.056239},{"lng":118.777056,"lat":32.056544},{"lng":118.777372,"lat":32.056905},{"lng":118.777954,"lat":32.057563},{"lng":118.778102,"lat":32.057525},{"lng":118.778603,"lat":32.057409},{"lng":118.778893,"lat":32.057353},{"lng":118.778933,"lat":32.05741},{"lng":118.778968,"lat":32.057499},{"lng":118.778969,"lat":32.057502}]
路径

 

3路(随家仓-随家仓)

首末车时间 05:00-23:00
所属公司 南京公交集团江南客运公司

沿线公交站点:

1 随家仓
2 南阴阳营
3 山阴路
4 西康路
5 玉泉路
6 莫干路
7 江苏路

 

五、附近兴趣点

new BMap.Geocoder().getLocation(pt)

[{"title":"南京大学","uid":"a26d3f62be10d143343a712a","point":{"lng":118.787124,"lat":32.059873},"city":"南京市","xe":"教育培训","type":0,"address":"江苏省南京市鼓楼区汉口路22号","postcode":null,"phoneNumber":null,"uB":["教育培训"]},{"title":"南京大学(鼓楼校区)","uid":"a26d3f62be10d143343a712a","point":{"lng":118.787124,"lat":32.059873},"city":"南京市","xe":"教育培训","type":0,"address":"江苏省南京市鼓楼区汉口路22号","postcode":null,"phoneNumber":null,"uB":["教育培训"]},{"title":"南京大学-图书馆","uid":"22e11407183676c9d5b74ec7","point":{"lng":118.787321,"lat":32.06073},"city":"南京市","xe":"教育培训","type":0,"address":"鼓楼区汉口路22号南京大学鼓楼校区(近广州路)","postcode":null,"phoneNumber":null,"uB":["教育培训"]},{"title":"南京大学东南楼","uid":"f6d50284a0a3ff9a4e2fdf59","point":{"lng":118.788139,"lat":32.061762},"city":"南京市","xe":"教育培训","type":0,"address":"汉口路22号","postcode":null,"phoneNumber":null,"uB":["教育培训"]},{"title":"南京大学-大气科学学院","uid":"8b1c56e49f91590e081cc7e6","point":{"lng":118.788076,"lat":32.061693},"city":"南京市","xe":"教育培训","type":0,"address":"汉口路22号南京大学","postcode":null,"phoneNumber":null,"uB":["教育培训"]},{"title":"南京大学校史博物馆","uid":"e889a744f1ed2cc88705bfa1","point":{"lng":118.787806,"lat":32.061028},"city":"南京市","xe":"旅游景点","type":0,"address":"汉口路22号南京大学","postcode":null,"phoneNumber":null,"uB":["旅游景点"]},{"title":"南京大学-科学技术馆","uid":"ea2e702991210e0d1df74dff","point":{"lng":118.78822,"lat":32.061288},"city":"南京市","xe":"教育培训","type":0,"address":"汉口路22号南京大学","postcode":null,"phoneNumber":null,"uB":["教育培训"]},{"title":"陈裕光雕像","uid":"750333c39661982dad0457a1","point":{"lng":118.787483,"lat":32.061678},"city":"南京市","xe":"旅游景点","type":0,"address":"南京市鼓楼区","postcode":null,"phoneNumber":null,"uB":["旅游景点"]},{"title":"南京大学鼓楼校区-南园19舍","uid":"5dae49f6b2c14378ca1b951e","point":{"lng":118.787564,"lat":32.059666},"city":"南京市","xe":"房地产","type":0,"address":"南京市鼓楼区","postcode":null,"phoneNumber":null,"uB":["房地产"]}]
View Code

 

1、高虹苑小区,地址:秦虹路260号

2、苏果超市(秦虹路店),地址:秦虹小区秦虹路260号

3、秦淮区社区服务中心广场,地址:南京市秦淮区

4、秦虹鲜花中心,地址:秦虹小区秦虹路361号

5、慧乐烟酒,地址:南京市秦淮区

 

六、行政区划

 new BMap.Boundary().get(name)

["121.107678, 31.768678;121.16355, 31.8022;121.209973, 31.836995;121.23232, 31.849139;121.291897, 31.87257;121.320622, 31.8733;121.35843, 31.857813;121.374636, 31.846578;121.409257, 31.817571;121.425424, 31.79217;121.439748, 31.776723;121.453866, 31.76847;121.480211, 31.759357;121.519335, 31.753332;121.572128, 31.728739;121.605702, 31.721479;121.734775, 31.672315;121.874804, 31.624791;122.005714, 31.619976;122.003893, 31.825654;121.998443, 31.886316;121.988708, 
View Code

 

posted on 2015-10-28 15:01  hhudata  阅读(1026)  评论(0编辑  收藏  举报