diff --git a/library/src/main/java/io/nlopez/smartlocation/SmartLocation.java b/library/src/main/java/io/nlopez/smartlocation/SmartLocation.java index fd40c7d4..4e8268b2 100644 --- a/library/src/main/java/io/nlopez/smartlocation/SmartLocation.java +++ b/library/src/main/java/io/nlopez/smartlocation/SmartLocation.java @@ -10,6 +10,7 @@ import java.util.List; import java.util.Map; import java.util.WeakHashMap; +import java.util.Locale; import io.nlopez.smartlocation.activity.ActivityProvider; import io.nlopez.smartlocation.activity.config.ActivityParams; @@ -114,6 +115,10 @@ public GeofencingControl geofencing(GeofencingProvider geofencingProvider) { public GeocodingControl geocoding() { return geocoding(new AndroidGeocodingProvider()); } + public GeocodingControl geocoding(Locale locale) { + return geocoding(new AndroidGeocodingProvider(locale)); + } + /** * @param geocodingProvider geocoding provider we want to use