【问题标题】:How to find direction points using Google Maps API 3?如何使用 Google Maps API 3 查找方向点?
【发布时间】:2013-06-03 08:14:51
【问题描述】:

我正在 Google 地图中绘制路线。我已经通过了起点、路点和终点。我的路线绘制正确。我正在使用 Google Maps API 3。

request = {
  origin: originAddress,
  destination: destinationAddress,
  waypoints: waypoints,
  optimizeWaypoints: false,
  travelMode: google.maps.DirectionsTravelMode.DRIVING
};

directionsService.route(request, function(response, status) {
  if (status == google.maps.DirectionsStatus.OK) {
    directionsDisplay.setDirections(response);
  }
}

如果我改变了路线方向,那么如何找到改变的方向点的经纬度?

谁能帮帮我?

【问题讨论】:

    标签: asp.net google-maps google-maps-api-3 maps maproute


    【解决方案1】:

    【讨论】:

    • 你救了我很多。谢谢你的回答。
    猜你喜欢
    • 2014-07-01
    • 2017-03-03
    • 2013-03-22
    • 2015-12-07
    • 1970-01-01
    • 1970-01-01
    • 2013-04-06
    • 2017-08-11
    • 1970-01-01
    相关资源
    最近更新 更多