An Objective-C wrapper for the C lambert library
Add dependency to your Podfile : pod 'lambert-objc', '~> 0.0.3'
- Download
lambert.h
andlambert.c
from the 2.0.1 lambert Github repository and add them to your project - Add
CLLocation+Lambert.h
andCLLocation+Lambert.m
to your project
The Lambert category adds a new initializer to the CLLocation
class :
/**
* 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];