代码之家  ›  专栏  ›  技术社区  ›  Miguel Ping

如何使用Bing地图API绘制道路?

  •  1
  • Miguel Ping  · 技术社区  · 17 年前

    是否可以使用Bing地图JSAPI绘制道路?理想情况下,我将提供两个地理参考点,轨道/道路将始终在同一条道路上。

    基本上,我想突出一条路。

    2 回复  |  直到 10 年前
        1
  •  3
  •   James Schek    17 年前

    使用 map.GetDirections(new VELatLong(lat,lon),new VELatLong(lat,lon))

        2
  •  1
  •   Derek Swingley    17 年前

    查看中的“获取多点路线”示例 interactive SDK under Get a multi-point route and directions .

    这是相关的函数调用:

    map.GetDirections(["Microsoft", "Everett WA", "Bellingham WA"]);
    
    推荐文章