Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yageek/lambert-objc
:earth_africa: CLLocation category to use lambert coordinates
https://github.com/yageek/lambert-objc
coordinates lambert objective-c wgs84
Last synced: about 1 month ago
JSON representation
:earth_africa: CLLocation category to use lambert coordinates
- Host: GitHub
- URL: https://github.com/yageek/lambert-objc
- Owner: yageek
- License: mit
- Created: 2013-07-08T12:43:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-06-09T06:14:59.000Z (over 7 years ago)
- Last Synced: 2024-11-17T00:33:46.231Z (about 2 months ago)
- Topics: coordinates, lambert, objective-c, wgs84
- Language: Objective-C
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lambert-objc
An Objective-C wrapper for the C lambert library
# Installation
## CocoapodsAdd dependency to your Podfile : `pod 'lambert-objc', '~> 0.0.3'`
## Raw files
* Download `lambert.h` and `lambert.c` from the [2.0.1 lambert Github repository](https://codeload.github.com/YaGeek/lambert/tar.gz/2.0.1) and add them to your project
* Add `CLLocation+Lambert.h` and `CLLocation+Lambert.m` to your project# Usage
The Lambert category adds a new initializer to the `CLLocation` class :
```objc
/**
* Zone argument could be one of the followings :
* LAMBERT_I,LAMBERT_II,LAMBERT_III,LAMBERT_IV,LAMBERT_II_E,LAMBERT_93
*/CLLocation * loc = [[CLLocation alloc] initWithLambertX:994272.661 andY:113467.422 inZone:LAMBERT_I];
```