Skip to content

Added a number of new features #9

Merged
merged 9 commits into from Mar 15, 2012
Commits on Mar 1, 2012
  1. @regality

    geolib can now accept different parameter keys.

    regality committed Mar 1, 2012
    Previously all coordinates were in the following format:
      {latitude: 123, longitude: 123}
    
    Now, it can accept 'lat' or 'latitude', and 'lng', 'long', or
    'longitude'.
    
    The distance formula also accounts for elevation if it is provided.
    The elevation key can be 'alt', 'altitude', 'elev', 'elevation'.
    
    i.e.
    
    geo.getDistance({lat: 10, lng: 20, elev: 0},
                    {lat: 30, lng: 40, elev: 10000})
    
    will use the pythagorean theorem to adjust the extra distance gained
    from the elevation change.
Commits on Mar 2, 2012
  1. @regality
  2. @regality
Commits on Mar 7, 2012
  1. @regality

    added elevation services

    regality committed Mar 7, 2012
Commits on Mar 8, 2012
  1. @regality

    efffff

    regality committed Mar 7, 2012
Commits on Mar 13, 2012
  1. @captainAnderman

    added final tests

    captainAnderman committed Mar 13, 2012
  2. @captainAnderman
Commits on Mar 14, 2012
  1. @regality

    fixed some bugs with mocha test

    regality committed Mar 14, 2012
  2. @regality
Something went wrong with that request. Please try again.