Skip to content

Commit

Permalink
Add support for language in GoogleGeocoding (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eimji committed May 5, 2019
1 parent c126f2a commit 3c21d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/geocoder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export 'model.dart';

class Geocoder {
static final Geocoding local = LocalGeocoding();
static Geocoding google(String apiKey) => GoogleGeocoding(apiKey);
static Geocoding google(String apiKey, { String language }) => GoogleGeocoding(apiKey, language: language);
}

0 comments on commit 3c21d93

Please sign in to comment.