本帖最后由 ddtcs 于 2010-05-06 22:37:38 编辑

解决方案 »

  1.   

    http://www.randmcnally.com/
    楼主看看吧,不知道有没有帮助
      

  2.   

    directions.load("from: '上海' to: '北京'");
      

  3.   

    错了,我测试了一下,没有反应是因为没有找到路线,即起止地点不明确,提供的API没有模糊查询功能,所以地址尽量要对
    directions.load("from: 中国 福建 福州 鼓楼区软件大道89号 to: 中国 福建 福州 鼓楼区");
    <html>
    <head> 
    <title>m</title>
    <script type="text/javascript" src="http://www.google.com/jsapi?key=&hl=cn"></script>
    <script type="text/javascript">
    google.load("maps", "2");
    var maps,geocoder
    window.onload=function() { 
    maps = new google.maps.Map2(document.getElementById("maps")); 
            directions = new GDirections(maps, document.getElementById("a"));
            directions.load("from: 中国福建福州鼓楼区软件大道89号 to: 中国福建福州鼓楼区");
    }
    </script> 
    </head> 
    <body>
    <div id="a"></div>
    <div id="maps" style="width:750px; height: 480px"></div> 
    </body> </html>
      

  4.   

    我给的这个地址,是我用google的另一个API得出的规范的地址版本,应该没有问题的啊,而且我尝试的结果是,市内地址都不成功,我只试成功了市之间的导航,比如福州到厦门。