From d0f992792b2b59fc96c7e726735b3a7a74996255 Mon Sep 17 00:00:00 2001 From: Oliver CarreƱo Date: Thu, 12 May 2016 11:45:36 -0400 Subject: Fix "Requests to this API must be over SSL" when use API Key --- src/org/traccar/geocode/GoogleReverseGeocoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/traccar/geocode/GoogleReverseGeocoder.java b/src/org/traccar/geocode/GoogleReverseGeocoder.java index be863718b..1f607df78 100644 --- a/src/org/traccar/geocode/GoogleReverseGeocoder.java +++ b/src/org/traccar/geocode/GoogleReverseGeocoder.java @@ -30,7 +30,7 @@ public class GoogleReverseGeocoder extends JsonReverseGeocoder { } public GoogleReverseGeocoder(String key, int cacheSize) { - super("http://maps.googleapis.com/maps/api/geocode/json?latlng=%f,%f&key=" + key, cacheSize); + super("https://maps.googleapis.com/maps/api/geocode/json?latlng=%f,%f&key=" + key, cacheSize); } @Override -- cgit v1.2.3