GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hyperconnect/LMGeocoder

BranchesTags
Open more actions menu

Latest commit

 

History

47 Commits
47 Commits

Folders and files

NameName
Last commit message
Last commit date
HyperconnectWorkspace.xcworkspace
HyperconnectWorkspace.xcworkspace
 
 
LMGeocoder Tests
LMGeocoder Tests
 
 
LMGeocoder.xcodeproj
LMGeocoder.xcodeproj
 
 
LMGeocoder
LMGeocoder
 
 
LMGeocoderDemo
LMGeocoderDemo
 
 
Screenshots
Screenshots
 
 
.gitignore
.gitignore
 
 
LICENSE.txt
LICENSE.txt
 
 
LMGeocoder.podspec
LMGeocoder.podspec
 
 
README.md
README.md
 
 

Repository files navigation

LMGeocoder

LMGeocoder is a simple wrapper for geocoding and reverse geocoding dynamically from user input. It is blocked-based geocoder, use both Google Geocoding API and Apple iOS Geocoding Framework.

Features

  • Wrapper for Geocoding and Reverse geocoding with blocked-based coding.
  • Use both Google Geocoding API and Apple iOS Geocoding Framework.

Requirements

  • iOS 7.0 or higher
  • ARC

Installation

From CocoaPods

pod 'LMGeocoder'

Manually

  • Drag the LMGeocoder folder into your project.
  • Add the CoreLocation.framework to your project.
  • Add #include "LMGaugeView.h" to the top of classes that will use it.

Usage

Geocoding

[[LMGeocoder sharedInstance] geocodeAddressString:addressString
                                          service:kLMGeocoderGoogleService
                                completionHandler:^(LMAddress *address, NSError *error) {
                                    if (address && !error) {
                                        NSLog(@"Coordinate: (%f, %f)", address.coordinate.latitude, address.coordinate.longitude);
                                    }
                                    else {
                                        NSLog(@"Error: %@", error.description);
                                    }
                                }];

Reverse Geocoding

[[LMGeocoder sharedInstance] reverseGeocodeCoordinate:coordinate
                                              service:kLMGeocoderGoogleService
                                    completionHandler:^(LMAddress *address, NSError *error) {
                                        if (address && !error) {
                                            NSLog(@"Address: %@", address.formattedAddress);
                                        }
                                        else {
                                            NSLog(@"Error: %@", error.description);
                                        }
                                    }];

See sample Xcode project in /LMGeocoderDemo

License

LMGeocoder is licensed under the terms of the MIT License.

Say Hi

  • Twitter
  • LinkedIn
  • Blog

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

4 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.