diff options
author | Oliver Carreño <orcoliver@gmail.com> | 2016-05-12 11:45:36 -0400 |
---|---|---|
committer | Oliver Carreño <orcoliver@gmail.com> | 2016-05-12 11:45:36 -0400 |
commit | d0f992792b2b59fc96c7e726735b3a7a74996255 (patch) | |
tree | a8e6f903a4dbf3709205564f94616ef90917797b | |
parent | 96f18a993322a8cac19a83ce806ee1c77eb723e3 (diff) | |
download | traccar-server-d0f992792b2b59fc96c7e726735b3a7a74996255.tar.gz traccar-server-d0f992792b2b59fc96c7e726735b3a7a74996255.tar.bz2 traccar-server-d0f992792b2b59fc96c7e726735b3a7a74996255.zip |
Fix "Requests to this API must be over SSL" when use API Key
-rw-r--r-- | src/org/traccar/geocode/GoogleReverseGeocoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 |