pjwelcome/GoogleMapsDirections

DirectionApi throws SocketConnection Exception

Closed this issue · 1 comments

In getDirectionsDetails() method throws sockettimeout exception.
I have pass origin and destination in the string.

@pjwelcome

In connection, Timeout will set as 0 will resolve my issue.
geoApiContext .setQueryRateLimit(3) .setApiKey('**YOUR MAP KEY**') .setConnectTimeout(0, TimeUnit.SECONDS) .setReadTimeout(0, TimeUnit.SECONDS) .setWriteTimeout(0, TimeUnit.SECONDS);