In my app I need to calculate the shortest driving distance between 2 addresses. I have a custom script that I am including in the webserver procdure. And I use a function from that procedure behind a button to get the distance, display it and write it to the database.
However when I include the google maps API I am getting the following error. The Google maps api server rejected your request. The sensor parameter specified in the request must be set to either true or false.
I can use this code in an html page and I do not get this error, so I think there is something incompatible, but I am not sure what. I have included an example app.
Does anyone have suggestions for what I need to do differently?
My environment is C8 9759 and NT 7.25
Thanks,
Debra
[attachment deleted by admin]