AJ ONeal
df6d38b5ad
v1.2.9
2016-08-17 23:35:26 -06:00
AJ ONeal
3a962c1956
further cleanup and testing for #16
2016-08-17 23:35:20 -06:00
AJ ONeal
5495dd0a53
Merge pull request #16 from lopper/master
...
support converting from HilbertQuadkey to s2Cell.
2016-08-17 23:02:59 -06:00
Patrick
d28f0a6d3f
add support to convert from HilbertQuadkey to s2Cell.
2016-08-16 22:08:21 -07:00
Patrick
a4e97ba0a9
fix issue with FromLatLng so that it supports latLng cooridinates that involve 0.
2016-08-16 22:00:34 -07:00
AJ ONeal
0cc25036e5
v1.2.8
2016-08-16 13:19:30 -06:00
AJ ONeal
a11cd4e920
merge #14 and #15
2016-08-16 13:18:33 -06:00
AJ ONeal
42a9eaf1fc
Merge pull request #15 from breadboardllc/module-exporting-fixes
...
Fix export so it works with `module.exports` & `window`
2016-08-16 13:10:27 -06:00
David Murdoch
4e631500ea
Don't overwrite L if it exists in export scope
...
This makes the module.exports fix more inline with previous behavior.
2016-08-16 14:56:14 -04:00
David Murdoch
8aa84ebf93
Fix export so it works w/ `module.exports` & `window`
...
Fixes Issue #13 .
This also fixes a similar issue where this library is used via browserify/webpack in the browser (or other environments where `window` is defined). Previously, `var S2 = require("s1-geometry").S2;`, would result in `window.S2` being defined but `S2` remaining undefined. This changes the behavior to prefer exporting via `module.exports`, if available, and falling back to `window` (or whatever `this` is in the module's imported scope -- which is usually `window`). Additionally, this keeps the library from polluting the global scope unnecessarily.
2016-08-16 14:52:15 -04:00
Jason Hunter
9fdcc00739
flip module.exports and window check for this lib to work on nw.js and electron per Issue #13
2016-08-14 22:39:50 -04:00
AJ ONeal
7180db1be6
explicit br
2016-08-03 18:00:49 -06:00
AJ ONeal
c6ee1ee508
update formatting
2016-08-03 17:59:48 -06:00
AJ ONeal
4249d3bfa6
add orientation
2016-08-03 17:54:58 -06:00
AJ ONeal
60d01395ef
add orientation
2016-08-03 17:53:38 -06:00
AJ ONeal
2e7b12e212
add more of api
2016-08-03 17:48:24 -06:00
AJ ONeal
1a9c95e2c6
bump
2016-08-03 17:44:03 -06:00
AJ ONeal
b3f5bbd27f
Merge branch 'master' of github.com:Daplie/s2-geometry.js
2016-08-03 17:43:49 -06:00
AJ ONeal
f96e16c6bf
update docs and aliases
2016-08-03 17:43:35 -06:00
AJ ONeal
d1f19ef616
Update README.md
2016-08-03 16:56:56 -06:00
AJ ONeal
191e83fe40
Update README.md
2016-08-03 16:56:09 -06:00
AJ ONeal
4c4154a288
update table
2016-08-03 16:54:02 -06:00
AJ ONeal
be9112f2ad
add table with faces
2016-08-03 16:48:49 -06:00
AJ ONeal
bb664af25b
special test case for @vekexasia #1
2016-08-03 10:27:24 -06:00
AJ ONeal
98fa79b6bd
special test case for @Skeec for #11
2016-08-03 09:24:49 -06:00
AJ ONeal
d5524f7b74
test for @DVassilev on #8 and minor updates
2016-08-03 09:05:23 -06:00
AJ ONeal
afe681240b
test against golang/geo/s2
2016-08-03 01:20:48 -06:00
AJ ONeal
197e07a605
bump
2016-08-03 00:33:32 -06:00
AJ ONeal
60186d007f
fix #8 #6
2016-08-03 00:33:20 -06:00
AJ ONeal
b7f7c6df1c
fix #9
2016-08-03 00:23:22 -06:00
AJ ONeal
a1da97514e
bump
2016-08-03 00:04:51 -06:00
AJ ONeal
68274eb677
use correct starting square for face #6 #8 #9
2016-08-03 00:04:26 -06:00
AJ ONeal
e04b0b0ecd
move to Daplie
2016-07-30 11:06:23 -04:00
AJ ONeal
4a7b8819c9
bump
2016-07-30 00:51:34 -04:00
AJ ONeal
c0c80ca0f8
show xyz value also
2016-07-29 13:50:20 -04:00
AJ ONeal
c094e1def7
add step-by-step value debugging
2016-07-29 13:49:32 -04:00
AJ ONeal
d18e4906c5
export some internals for debugging
2016-07-29 13:48:41 -04:00
AJ ONeal
b45bb89117
bump
2016-07-29 10:37:52 -04:00
AJ ONeal
d7aa5c136a
thoroughly test partial fix of #6
2016-07-29 10:37:43 -04:00
AJ ONeal
0d8eec3d04
add expected location values from s2geometry-node
2016-07-29 09:53:03 -04:00
AJ ONeal
113e375824
#6 fix padding issue converting from Hilbert Quadkey to CellId
2016-07-29 09:31:39 -04:00
AJ ONeal
e461dcfd5c
#6 fix padding issue converting from CellId to Hilbert Quadkey
2016-07-29 09:07:52 -04:00
AJ ONeal
51b549de38
Merge branch 'master' of github.com:coolaj86/s2-geometry-javascript
2016-07-28 09:04:59 -04:00
AJ ONeal
c275019aec
magic 3 -> S2.FACE_BITS
2016-07-28 09:04:22 -04:00
AJ ONeal
2796829356
add 'used by' section
2016-07-28 05:23:39 -04:00
AJ ONeal
6252e4e9e9
syntax, comments with output
2016-07-28 05:21:24 -04:00
AJ ONeal
65d94c9141
add javascript styling
2016-07-28 05:17:53 -04:00
AJ ONeal
d344d81611
bump
2016-07-28 05:06:41 -04:00
AJ ONeal
54bd875e3e
bugfix #3 pad face binary string
2016-07-28 05:06:23 -04:00
AJ ONeal
e3619d963a
bump
2016-07-28 02:25:54 -04:00