LMGeocoderUniversal 1.2.2

LMGeocoderUniversal 1.2.2

Maintained by Kanstantsin Bucha.



LMGeocoderUniversal

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

add to info.plist

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
    <key>NSExceptionDomains</key>
    <dict>
        <key>maps.googleapis.com</key>
        <dict>
            <key>NSExceptionAllowsInsecureHTTPLoads</key>
            <true/>
            <key>NSIncludesSubdomains</key>
            <true/>
        </dict>
    </dict>
</dict>
    LMGeocoder * geocoder = [LMGeocoder geocoder];
    NSArray * result = [geocoder geocodeAddressString: @"Minsk. Belarus"
                                              service: kLMGeocoderGoogleService
                                                error: nil];
    NSLog(@"%@", [(LMAddress *)result.firstObject country]);

Requirements

Installation

LMGeocoderUniversal is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'LMGeocoderUniversal'

Author

truebucha, [email protected]

License

LMGeocoderUniversal is available under the MIT license. See the LICENSE file for more info.