Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google places api 将google map places api与方向服务一起使用_Google Places Api - Fatal编程技术网

Google places api 将google map places api与方向服务一起使用

Google places api 将google map places api与方向服务一起使用,google-places-api,Google Places Api,我想使用方向服务在道路上标记多段线,但是,当我在“原点”参数中使用地名时,它会返回其他内容 例如 这是我的要求,但我得到的回应是:孟买班德拉西部, 印度马哈拉施特拉邦 我也尝试过其他的查询,比如“卡特路圆形剧场班德拉”,但即使在这里,回复也是印度孟买马哈拉施特拉邦班德拉西部 http://maps.googleapis.com/maps/api/directions/xml?origin=candies bandra west&destination=thadomal shahani e

我想使用方向服务在道路上标记多段线,但是,当我在“原点”参数中使用地名时,它会返回其他内容 例如

这是我的要求,但我得到的回应是:孟买班德拉西部, 印度马哈拉施特拉邦 我也尝试过其他的查询,比如“卡特路圆形剧场班德拉”,但即使在这里,回复也是印度孟买马哈拉施特拉邦班德拉西部

http://maps.googleapis.com/maps/api/directions/xml?origin=candies bandra west&destination=thadomal shahani engineering college&sensor=false