{"id":13850909,"url":"https://github.com/lminhtm/LMGeocoder","last_synced_at":"2025-07-13T01:31:51.212Z","repository":{"id":17577011,"uuid":"20380460","full_name":"lminhtm/LMGeocoder","owner":"lminhtm","description":"Simple wrapper for geocoding and reverse geocoding, using both Google Geocoding API and Apple iOS Geocoding Framework.","archived":false,"fork":false,"pushed_at":"2023-01-11T13:17:02.000Z","size":4203,"stargazers_count":139,"open_issues_count":6,"forks_count":38,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-23T22:20:08.744Z","etag":null,"topics":["geocode","geocoder","geocoding","ios","objective-c","reverse-geocode","reverse-geocoding","swift"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lminhtm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-01T15:53:24.000Z","updated_at":"2022-09-19T16:21:40.000Z","dependencies_parsed_at":"2023-01-13T19:23:53.968Z","dependency_job_id":null,"html_url":"https://github.com/lminhtm/LMGeocoder","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lminhtm%2FLMGeocoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lminhtm%2FLMGeocoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lminhtm%2FLMGeocoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lminhtm%2FLMGeocoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lminhtm","download_url":"https://codeload.github.com/lminhtm/LMGeocoder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225850215,"owners_count":17534062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geocode","geocoder","geocoding","ios","objective-c","reverse-geocode","reverse-geocoding","swift"],"created_at":"2024-08-04T21:00:28.937Z","updated_at":"2024-11-22T05:30:20.111Z","avatar_url":"https://github.com/lminhtm.png","language":"Objective-C","readme":"# LMGeocoder\nLMGeocoder is a simple wrapper for geocoding and reverse geocoding, using both Google Geocoding API and Apple iOS Geocoding Framework.\n\n[![CI Status](https://img.shields.io/travis/LMinh/LMGeocoder.svg?style=flat)](https://travis-ci.org/LMinh/LMGeocoder)\n[![Version](https://img.shields.io/cocoapods/v/LMGeocoder.svg?style=flat)](https://cocoapods.org/pods/LMGeocoder)\n[![License](https://img.shields.io/cocoapods/l/LMGeocoder.svg?style=flat)](https://cocoapods.org/pods/LMGeocoder)\n[![Platform](https://img.shields.io/cocoapods/p/LMGeocoder.svg?style=flat)](https://cocoapods.org/pods/LMGeocoder)\n\n![](https://raw.github.com/lminhtm/LMGeocoder/master/Screenshots/screenshot.png)\n\n## Features\n* Wrapper for Geocoding and Reverse geocoding with blocked-based coding.\n* Use both Google Geocoding API and Apple iOS Geocoding Framework.\n\n## Requirements\niOS 8.0 or higher\n\n## Installation\nLMGeocoder is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'LMGeocoder'\n```\n\n## Swift Version\nhttps://github.com/lminhtm/LMGeocoderSwift\n\n## Usage\n#### Geocoding\n```ObjC\n[[LMGeocoder sharedInstance] geocodeAddressString:addressString\n                                          service:LMGeocoderServiceGoogle\n                               alternativeService:LMGeocoderServiceApple\n                                completionHandler:^(NSArray *results, NSError *error) {\n                                    if (results.count \u0026\u0026 !error) {\n                                        LMAddress *address = [results firstObject];\n                                        NSLog(@\"Coordinate: (%f, %f)\", address.coordinate.latitude, address.coordinate.longitude);\n                                    }\n                                }];\n```\n\n#### Reverse Geocoding\n```ObjC\n[[LMGeocoder sharedInstance] reverseGeocodeCoordinate:coordinate\n                                              service:LMGeocoderServiceGoogle\n                                   alternativeService:LMGeocoderServiceApple\n                                    completionHandler:^(NSArray *results, NSError *error) {\n                                        if (results.count \u0026\u0026 !error) {\n                                            LMAddress *address = [results firstObject];\n                                            NSLog(@\"Address: %@\", address.formattedAddress);\n                                        }\n                                    }];\n```\n\n#### Cancel Geocode\n```ObjC\n[[LMGeocoder sharedInstance] cancelGeocode];\n```\n\n## Example\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## License\nLMGeocoder is available under the MIT license. See the LICENSE file for more info.\n\n## Author\nMinh Nguyen\n* https://github.com/lminhtm\n* lminhtm@gmail.com\n","funding_links":[],"categories":["Object-C 库"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flminhtm%2FLMGeocoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flminhtm%2FLMGeocoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flminhtm%2FLMGeocoder/lists"}