【发布时间】:2011-02-03 11:23:59
【问题描述】:
我们的应用将 OpenLayers 与 Google 地图图层结合使用。我想知道是否可以在这个 OpenLayers 地图上使用 Google Maps 的 DirectionsRenderer api 来呈现路线?
此处的示例 - http://code.google.com/apis/maps/documentation/javascript/services.html#Directions - 在独立环境中运行良好。如果我们尝试将其与 OpenLayers 集成,则不会渲染方向。
有什么帮助吗?
谢谢, 斯里达尔
【问题讨论】:
标签: google-maps google-maps-api-3 openlayers map-directions