File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,10 @@ There's also a @region@ (@MKCoordinateRegion@) property in case the returned pla
64
64
65
65
h2. Google Maps API Token
66
66
67
- You can include a Google Maps API token by initializing the geocoder and setting it.
67
+ You can include a Google Maps API token by initializing the geocoder and setting it. You should use the default initializers to include the token.
68
68
69
69
<pre>
70
- [geocoder setGoogleMapsToken:@"token"];
70
+ [geocoder setGoogleMapsToken:@"token"];
71
71
</pre>
72
72
73
73
h2. Credits
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ - (SVGeocoder*)initWithAddress:(NSString *)address region:(CLRegion *)region com
118
118
119
119
- (void )setGoogleMapsToken : (NSString *)token {
120
120
121
- [self addParametersToRequest: [@{@" token " : token} mutableCopy]];
121
+ [self addParametersToRequest: [@{@" key " : token} mutableCopy]];
122
122
123
123
}
124
124
You can’t perform that action at this time.
0 commit comments