Google Directions Service API 3 Return Wrong Result to Map -
am using google direction service find map 2 address stated below
var start = "2115 first avenue se unit 1306, cottage grove place, cedar rapids, ia, 52402"; //set source/ origin var end = "6126 rockwell dr. apt 128, keystone place, cedar rapids, ia, 52402";
on select via google maps direction directly works fine
it not working same while using direction service. find below example
http://jsfiddle.net/mrhq4/291/ (credits author :shreerang patwardhan)
it works fine when remove address2 source , destination
unit , apartment information can cause parsing issues in geocoder. if can, try remove them best possible. change addresses
var start = "2115 first avenue se, cedar rapids, ia, 52402"; //set source/ origin var end = "6126 rockwell dr, cedar rapids, ia, 52402";
and you'll see working better.
Comments
Post a Comment