QMGeocoder
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
you could place google API key inside info.plist file at ["google"]["GeocoderApiKey"]
<key>Google</key>
<dict>
<key>GeocoderApiKey</key>
<string>ApiKeyStringHere</string>
</dict>
[QMGeocoder.shared geocodeAddress: address
using: QMGeocoderServiceApple
completion: ^(QMLocationInfo * _Nullable appleInfo, NSError * _Nullable error) {
NSLog(@"Apple: %@", appleInfo);
}];
[QMGeocoder.shared geocodeAddress: address
using: QMGeocoderServiceGoogle
completion: ^(QMLocationInfo * _Nullable googleInfo, NSError * _Nullable error) {
NSLog(@"Google: %@", googleInfo);
}];
Requirements
Installation
QMGeocoder is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'QMGeocoder'
Author
truebucha, [email protected]
License
QMGeocoder is available under the MIT license. See the LICENSE file for more info.