Script Error in Google Maps - Titanium

Asked

Viewed 23 times

1

I am having an extreme difficulty to do only 3 routes in my app. I am days trying to understand the exact logic/code to finalize my project and I get no success.

I wrote the code line 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 showing 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 someone help me with this?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.