Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshdholtz/clgeocoder-doublelookup
CLGeocoder+DoubleLookup - Give address components, get more address components back (like zip code)
https://github.com/joshdholtz/clgeocoder-doublelookup
Last synced: 10 days ago
JSON representation
CLGeocoder+DoubleLookup - Give address components, get more address components back (like zip code)
- Host: GitHub
- URL: https://github.com/joshdholtz/clgeocoder-doublelookup
- Owner: joshdholtz
- Created: 2014-02-06T23:38:25.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-07T00:28:35.000Z (almost 11 years ago)
- Last Synced: 2024-10-11T10:33:36.239Z (about 1 month ago)
- Language: Objective-C
- Size: 125 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CLGeocoder+DoubleLookup
======================### Why?
Give address components (address, city, state) and get more info (zip code along with latitude and longitude) in response### How?
Geocoder.geocode + Geocoder.reverseGeocode### Example
````objc
#import "CLGeocoder+DoubleLookup.h"// INPUT: Milwaukee, WI
// OUTPUT: 700–748 N Milwaukee St, 700–748 N Milwaukee St, Milwaukee, WI 53202, United States @ <+43.03889350,-87.90655650> +/- 100.00m// Optional - Add "Address" to the dictionary
CLGeocoder *geocoder = [[CLGeocoder alloc] init];
[geocoder doubleGeocodeAddressDictionary:@{ @"City" : @"Milwaukee", @"State" : @"WI" } completionHandler:^(NSArray *placemarks, NSError *error) {
NSLog(@"Placemarks - %@", [placemarks objectAtIndex:0]);
}];````