Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update geolib.js #14

Merged
merged 1 commit into from

3 participants

@saden1

added "lon" as a potential point property name.

Sharmarke Aden Update geolib.js
added "lon" as a potential point property name.
b106836
@wiseman

+1

@manuelbieh manuelbieh merged commit 5999fca into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 15, 2013
  1. Update geolib.js

    Sharmarke Aden authored
    added "lon" as a potential point property name.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  geolib.js
View
3  geolib.js
@@ -39,6 +39,7 @@
var longitude = (point.hasOwnProperty('lng') ? 'lng' : false) ||
(point.hasOwnProperty('long') ? 'long' : false) ||
+ (point.hasOwnProperty('lon') ? 'lon' : false) ||
'longitude';
var elevation = (point.hasOwnProperty('alt') ? 'alt' : false) ||
@@ -944,4 +945,4 @@
};
};
-})(this);
+})(this);
Something went wrong with that request. Please try again.