diff options
Diffstat (limited to 'src/org/traccar/geocoder/Geocoder.java')
-rw-r--r-- | src/org/traccar/geocoder/Geocoder.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/org/traccar/geocoder/Geocoder.java b/src/org/traccar/geocoder/Geocoder.java index 3ce3fb67f..c3fa394c7 100644 --- a/src/org/traccar/geocoder/Geocoder.java +++ b/src/org/traccar/geocoder/Geocoder.java @@ -1,5 +1,5 @@ /* - * Copyright 2012 - 2013 Anton Tananaev (anton@traccar.org) + * Copyright 2012 - 2017 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,8 @@ public interface Geocoder { } - void getAddress(AddressFormat format, double latitude, double longitude, ReverseGeocoderCallback callback); + void getAddress(double latitude, double longitude, ReverseGeocoderCallback callback); + + String getAddress(double latitude, double longitude); } |