I am having an extreme difficulty to do only 3 routes in my application. I am days trying to understand the exact logic / code to finalize my project and I am not successful.
I wrote the line of code below:
var socure = [37.389569, -122.050212];
var destination = [37.422502, -122.0855498];
var mode = "d";
var url = "http://maps.google.com/maps?saddr="+socure+"&daddr="+destination+"&f=d&sensor=true&doflg=ptm&hl=en&dirflg="+mode+"&output=kml";
You are experiencing the following error:
Error: [ERROR]: Script Error {[ERROR]: backtrace="# 0 () at : 0 "; [ERROR]: line = 60; [ERROR]: message=" Error Domain = com.google.GDataXML Code = -1 \ "The operation couldn \ u2019t be completed. (com.google.GDataXML error -1.) \ "";
Could anyone help me with this?