复制代码 代码如下:
html,body{ height: 100%;}
#results,#coordinate{ display: inline-block; width: 45%; min-height: 200px; border:1px solid #e4e4e4; vertical-align: top;}
获取反向线路的话就把var stations = result['0']._stations;改为var stations = result[xx]._stations;整理了一下:
复制代码 代码如下:
html,body{ height: 100%;}
#results,#coordinate{ display: inline-block; width: 45%; min-height: 200px; border:1px solid #e4e4e4; vertical-align: top;}
来自小西山子



