Problem solved.
Error in the Calculatedistance library, I removed it from the internal libraries and put the class and the lines 321 were corrected by
calculate.Initialize ("", "", m.Get ("StartingLocX"), m.Get ("StartingLocY"), m.Get ("LocX"), m.Get ("LocY"), "Km", "en", "driving", Me, "Check_Result")
Possibly the internal library was compiled with an older version of okhttp.
Link to download the class .bas
Hi all. This is a new library to calculate the distance (kilometers or miles) and time from the source point to the point of arrival by calculating and keeping presenting the traffic and the fastest route. Of course traffic data, accidents, etc. They are calculated in real time. You have two...
Enjoy it.