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 
							
						 
					 
					
						
						
						
						
							
						
						
							a11cd4e920 
							
						 
					 
					
						
						
							
							merge  #14  and  #15  
						
						 
						
						
						
						
					 
					
						2016-08-16 13:18:33 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							f96e16c6bf 
							
						 
					 
					
						
						
							
							update docs and aliases  
						
						 
						
						
						
						
					 
					
						2016-08-03 17:43:35 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							68274eb677 
							
						 
					 
					
						
						
							
							use correct starting square for face  #6   #8   #9  
						
						 
						
						
						
						
					 
					
						2016-08-03 00:04:26 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							d18e4906c5 
							
						 
					 
					
						
						
							
							export some internals for debugging  
						
						 
						
						
						
						
					 
					
						2016-07-29 13:48:41 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							c275019aec 
							
						 
					 
					
						
						
							
							magic 3 -> S2.FACE_BITS  
						
						 
						
						
						
						
					 
					
						2016-07-28 09:04:22 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							54bd875e3e 
							
						 
					 
					
						
						
							
							bugfix  #3  pad face binary string  
						
						 
						
						
						
						
					 
					
						2016-07-28 05:06:23 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							c65239853a 
							
						 
					 
					
						
						
							
							update docs and comments  
						
						 
						
						
						
						
					 
					
						2016-07-28 02:25:17 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							103d955300 
							
						 
					 
					
						
						
							
							add next(), prev(), and other helpers  
						
						 
						
						
						
						
					 
					
						2016-07-28 02:13:05 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							f4768f7a60 
							
						 
					 
					
						
						
							
							refactor and test for getting latlng  
						
						 
						
						
						
						
					 
					
						2016-07-28 00:37:43 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							f911efcdab 
							
						 
					 
					
						
						
							
							import dcodeIO.Long in browser  
						
						 
						
						
						
						
					 
					
						2016-07-27 20:45:56 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							b5c41f04e4 
							
						 
					 
					
						
						
							
							add id conversion  
						
						 
						
						
						
						
					 
					
						2016-07-27 20:41:04 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							544fc8a48d 
							
						 
					 
					
						
						
							
							v1.0.0  
						
						 
						
						
						
						
					 
					
						2016-07-26 00:42:53 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							8c17bc9e4f 
							
						 
					 
					
						
						
							
							explicit radix  
						
						 
						
						
						
						
					 
					
						2016-07-25 22:56:23 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							61b3ea3f37 
							
						 
					 
					
						
						
							
							don't redefine L, don't undefine DEG_TO_RAD  
						
						 
						
						... 
						
						
						
						Moved the consts to below function definition. 
						
						
					 
					
						2016-07-25 22:50:45 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							eb224e01aa 
							
						 
					 
					
						
						
							
							typo fix uv -> var uv  
						
						 
						
						
						
						
					 
					
						2016-07-25 22:06:43 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							8c15c5a1d7 
							
						 
					 
					
						
						
							
							typo fix windows -> window  
						
						 
						
						
						
						
					 
					
						2016-07-25 22:05:28 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJ ONeal 
							
						 
					 
					
						
						
						
						
							
						
						
							e3a7a4519b 
							
						 
					 
					
						
						
							
							add relevant L parts  
						
						 
						
						
						
						
					 
					
						2016-07-25 21:53:02 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jon Atkins 
							
						 
					 
					
						
						
						
						
							
						
						
							5e20625eb5 
							
						 
					 
					
						
						
							
							initial commit - basic s2cell support  
						
						 
						
						
						
						
					 
					
						2014-01-23 17:07:50 +00:00