Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

kanstantsin-bucha/LMGeocoderUniversal

Repository files navigation

It was archived. Please write to me at [email protected] in case any issues occur.

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.

About

Second Life of LMGeocoder by LMinh.

Resources

License

Stars

Watchers

Forks

Packages

No packages published