简体   繁体   中英

A http request to google maps api direction with waypoints

How to fix this.

https://maps.googleapis.com/maps/api/directions/json?origin=17.3916642,78.4346606&destination=78.4382585808635,17.3813395082035&%20waypoints=optimize:true|17.3916642,78.4346606|17.3865225743848,78.4374928101897|17.3813395082035,78.4382585808635&sensor=false

This is the answer I get:

 {"geocoded_waypoints" : [ {}, {} ],
       "routes" : [],
       "status" : "ZERO_RESULTS"}

Can one help me understand what is wrong? Does my request has an error, or I'm bypassing the limits of the direction google maps api?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM