【发布时间】:2016-05-04 00:29:23
【问题描述】:
我正在使用 google Direction Service 查找以下两个地址的地图
var start = "2115 First Avenue SE Unit 1306, Cottage Grove Place, Cedar Rapids, IA, 52402"; //Set the source/ origin
var end = "6126 Rockwell Dr. Apt 128, Keystone Place, Cedar Rapids, IA, 52402";
通过谷歌地图直接选择它可以正常工作
使用方向服务时,它的工作方式不同。 找到下面的例子
http://jsfiddle.net/MRHQ4/291/(致谢作者:Shreerang Patwardhan)
当我从源和目标中删除 Address2 时它工作正常
【问题讨论】:
标签: google-maps google-maps-api-3 map-directions