78 Commits

Author SHA1 Message Date
tristen
a4161663e5 Use meow for arguments 2019-05-03 10:40:39 -04:00
tristen
6d692c2e06 Support precision from the commandline 2019-04-29 11:34:12 -04:00
John Firebaugh
eaa1f056a9 Update CHANGELOG 2018-04-01 10:41:30 -07:00
sandstrom
76c1ab9403 Update README.md
- Move API docs link (and it's no longer a h1 header).
- Remove links that don't work (and one redundant link, already present in the ingress).
- Add note on deprecation of the old package (it's confusing with two package names! can make it a bit less confusing by mentioning this in the readme)
2018-04-01 10:38:14 -07:00
John Firebaugh
da95828a4a v1.0.0 2018-04-01 10:36:32 -07:00
John Firebaugh
fa4d92d5f8 Update devDependencies 2018-04-01 10:32:47 -07:00
John Firebaugh
8ee52472c3 Add yarn.lock 2018-04-01 10:31:04 -07:00
John Firebaugh
54aeca247d Add --toGeoJSON option 2018-04-01 10:30:00 -07:00
John Firebaugh
09b934f66c
Use a conditional rather than Math.sign 2017-11-07 09:25:43 -08:00
sandstrom
e79b8302f8 Update CHANGELOG.md 2017-11-07 09:20:59 -08:00
John Firebaugh
0c3471f7b0
Merge pull request #32 from martsie/patch-1
Namespace first npm command in Readme
2017-11-03 07:55:00 -07:00
Marton Bodonyi
9f6fab28c1 Namespace first npm command in Readme
The first npm command in the readme doesn't currently refer to the new namespaced version.
2017-10-12 14:33:46 +11:00
Tom MacWright
08c8cf6086 Merge pull request #21 from mapbox/add-mapbox-namespace
Move package to @mapbox namespace.
2016-12-21 21:25:23 -05:00
Tom MacWright
9e0697ab98 Fix readme examples 2016-12-21 21:24:15 -05:00
Tom MacWright
a81652d0b2 use newer node 2016-12-21 21:23:46 -05:00
Tom MacWright
41719b7e7e Move package to @mapbox namespace. 2016-12-21 20:03:28 -05:00
Tom MacWright
8c1efa7ae4 Merge pull request #19 from frederickjansen/negative-rounding
Fix issue with negative rounding
2016-07-19 17:44:36 -04:00
Frederick Jansen
26caf36a2d Fix issue with negative rounding
Rounding now matches Python 2's implementation
2016-06-10 17:31:02 -04:00
Tom MacWright
7a92d77963 Fix tabs 2016-06-09 16:50:18 -04:00
Tom MacWright
7d36fcb0e8 Merge pull request #18 from frederickjansen/rounding-fix
Fixed issue with rounding coordinates
2016-06-07 13:38:10 -04:00
Frederick Jansen
235e6316ad Fixed issue with rounding coordinates
Coordinates should be rounded before calculating the offset
2016-04-22 16:15:27 -04:00
John Firebaugh
f07a654bc5 Merge pull request #17 from vkurchatkin/fix-negative
Fix negative value handling
2016-04-19 09:28:41 -07:00
Vladimir Kurchatkin
319b37f10e Fix negative value handling
According to Google's documentation, value should be inverted if
_original_ value is less than zero. In practice it seems to affect results
only if precision is 7 or greater.
2016-04-19 17:09:27 +03:00
Tom MacWright
f033337381 Merge pull request #15 from nerik/executable
Allow execution through CLI
2016-02-09 18:12:10 -05:00
nerik
12832e5169 removed unnecessary require 2015-11-02 17:23:28 +01:00
nerik
37b35c6979 allow execution through CLI 2015-11-02 17:06:04 +01:00
John Firebaugh
d55f84a627 0.2.0 v0.2.0 2015-08-04 14:57:32 -07:00
John Firebaugh
461a3843df Fix no-use-before-define lint error 2015-08-04 14:57:32 -07:00
John Firebaugh
8141ae013a Merge pull request #13 from Turbo87/master
Several enhancements
2015-08-04 14:54:08 -07:00
Tobias Bieniek
d7fd73fb77 Extract private flipped() function 2015-07-19 14:17:15 +02:00
Tobias Bieniek
30a24431dc Add toGeoJSON() function 2015-07-19 14:15:03 +02:00
Tobias Bieniek
628e57dc2d Use JSDoc comments
see http://usejsdoc.org/
2015-07-19 13:57:40 +02:00
Tobias Bieniek
769ae9a883 Fix OSRM.RoutingGeometry.js link 2015-07-19 13:53:52 +02:00
Tobias Bieniek
10f2e40a03 Add ".nyc_output" folder to gitignore file
The files in that folder are produced by running the unit test suite
2015-07-19 13:44:06 +02:00
John Firebaugh
ad4ca0eb2e Merge pull request #11 from Kern0/fix-readme
Change example_flipped variable in example to its value
2015-06-23 08:45:44 -07:00
Arseniy Maximov
03f4d6fa28 Change example_flipped variable in example to its value 2015-06-23 17:51:39 +03:00
Tom MacWright
4314da45b5 0.1.0 v0.1.0 2015-06-21 17:52:18 -04:00
Tom MacWright
c3d4ed14a5 Add changelog for 0.1.0 2015-06-21 17:51:16 -04:00
Tom MacWright
c386ab3da8 Add eslintrc 2015-06-21 17:48:46 -04:00
Tom MacWright
78e0399584 Update testing stack, add coverage 2015-06-21 17:47:06 -04:00
Tom MacWright
048c429370 Merge pull request #10 from mapbox/flip-function
Add flip function
2015-06-21 17:32:21 -04:00
Tom MacWright
42c5b146ee Remove stray console.log 2015-06-21 17:31:34 -04:00
Lyzi Diamond
7aa1cd7db5 clean up validation 2015-06-19 18:01:12 -07:00
Lyzi Diamond
1f8d2df05b Add functionality and conditions for geojson geometries 2015-06-19 17:25:55 -07:00
Lyzi Diamond
d4f961d558 Add test for geojson geometries 2015-06-19 17:25:43 -07:00
Lyzi Diamond
ca7e667a1c update tests 2015-06-19 16:46:53 -07:00
Lyzi Diamond
5055e65576 Add fromGeoJSON function to polyline.js 2015-06-19 16:46:45 -07:00
Lyzi Diamond
6acf78f6d7 Remove dependencies 2015-06-19 16:46:29 -07:00
Lyzi Diamond
d61716ef5d Update doc and README 2015-06-19 16:45:15 -07:00
Lyzi Diamond
deb3fcfdc6 Update documentation and README 2015-05-30 16:57:51 -07:00