d3js-plugins-rails 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/lib/d3js-plugins-rails/version.rb +2 -2
  4. data/vendor/assets/javascripts/d3/plugins/LICENSE +1 -1
  5. data/vendor/assets/javascripts/d3/plugins/README.md +0 -14
  6. data/vendor/assets/javascripts/d3/plugins/geo/projection/README.md +1 -252
  7. data/vendor/assets/javascripts/d3/plugins/interpolate-zoom/README.md +9 -0
  8. data/vendor/assets/javascripts/d3/plugins/interpolate-zoom/interpolate-zoom-test.js +27 -0
  9. data/vendor/assets/javascripts/d3/plugins/interpolate-zoom/interpolate-zoom.js +18 -32
  10. data.tar.gz.sig +0 -0
  11. metadata +4 -140
  12. metadata.gz.sig +2 -5
  13. data/vendor/assets/javascripts/d3/plugins/.gitignore +0 -1
  14. data/vendor/assets/javascripts/d3/plugins/Makefile +0 -18
  15. data/vendor/assets/javascripts/d3/plugins/geo/projection/airy.js +0 -55
  16. data/vendor/assets/javascripts/d3/plugins/geo/projection/aitoff.js +0 -42
  17. data/vendor/assets/javascripts/d3/plugins/geo/projection/armadillo.js +0 -81
  18. data/vendor/assets/javascripts/d3/plugins/geo/projection/august.js +0 -36
  19. data/vendor/assets/javascripts/d3/plugins/geo/projection/baker.js +0 -30
  20. data/vendor/assets/javascripts/d3/plugins/geo/projection/berghaus.js +0 -76
  21. data/vendor/assets/javascripts/d3/plugins/geo/projection/boggs.js +0 -28
  22. data/vendor/assets/javascripts/d3/plugins/geo/projection/bonne.js +0 -30
  23. data/vendor/assets/javascripts/d3/plugins/geo/projection/bromley.js +0 -6
  24. data/vendor/assets/javascripts/d3/plugins/geo/projection/chamberlin.js +0 -116
  25. data/vendor/assets/javascripts/d3/plugins/geo/projection/collignon.js +0 -19
  26. data/vendor/assets/javascripts/d3/plugins/geo/projection/craig.js +0 -31
  27. data/vendor/assets/javascripts/d3/plugins/geo/projection/craster.js +0 -20
  28. data/vendor/assets/javascripts/d3/plugins/geo/projection/cylindrical-equal-area.js +0 -24
  29. data/vendor/assets/javascripts/d3/plugins/geo/projection/eckert1.js +0 -20
  30. data/vendor/assets/javascripts/d3/plugins/geo/projection/eckert2.js +0 -19
  31. data/vendor/assets/javascripts/d3/plugins/geo/projection/eckert3.js +0 -19
  32. data/vendor/assets/javascripts/d3/plugins/geo/projection/eckert4.js +0 -26
  33. data/vendor/assets/javascripts/d3/plugins/geo/projection/eckert5.js +0 -19
  34. data/vendor/assets/javascripts/d3/plugins/geo/projection/eckert6.js +0 -24
  35. data/vendor/assets/javascripts/d3/plugins/geo/projection/eisenlohr.js +0 -78
  36. data/vendor/assets/javascripts/d3/plugins/geo/projection/elliptic.js +0 -118
  37. data/vendor/assets/javascripts/d3/plugins/geo/projection/end.js +0 -1
  38. data/vendor/assets/javascripts/d3/plugins/geo/projection/fahey.js +0 -21
  39. data/vendor/assets/javascripts/d3/plugins/geo/projection/gall-stereographic.js +0 -19
  40. data/vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg-polyconic.js +0 -56
  41. data/vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg4.js +0 -6
  42. data/vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg5.js +0 -6
  43. data/vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg6.js +0 -6
  44. data/vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg8.js +0 -29
  45. data/vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg9.js +0 -6
  46. data/vendor/assets/javascripts/d3/plugins/geo/projection/gringorten.js +0 -150
  47. data/vendor/assets/javascripts/d3/plugins/geo/projection/guyou.js +0 -55
  48. data/vendor/assets/javascripts/d3/plugins/geo/projection/hammer-retroazimuthal.js +0 -106
  49. data/vendor/assets/javascripts/d3/plugins/geo/projection/hammer.js +0 -53
  50. data/vendor/assets/javascripts/d3/plugins/geo/projection/hatano.js +0 -27
  51. data/vendor/assets/javascripts/d3/plugins/geo/projection/healpix.js +0 -85
  52. data/vendor/assets/javascripts/d3/plugins/geo/projection/hill.js +0 -66
  53. data/vendor/assets/javascripts/d3/plugins/geo/projection/homolosine.js +0 -18
  54. data/vendor/assets/javascripts/d3/plugins/geo/projection/hyperbolic.js +0 -22
  55. data/vendor/assets/javascripts/d3/plugins/geo/projection/index.js +0 -72
  56. data/vendor/assets/javascripts/d3/plugins/geo/projection/interrupt.js +0 -150
  57. data/vendor/assets/javascripts/d3/plugins/geo/projection/kavrayskiy7.js +0 -17
  58. data/vendor/assets/javascripts/d3/plugins/geo/projection/lagrange.js +0 -47
  59. data/vendor/assets/javascripts/d3/plugins/geo/projection/larrivee.js +0 -41
  60. data/vendor/assets/javascripts/d3/plugins/geo/projection/laskowski.js +0 -33
  61. data/vendor/assets/javascripts/d3/plugins/geo/projection/littrow.js +0 -23
  62. data/vendor/assets/javascripts/d3/plugins/geo/projection/loximuthal.js +0 -30
  63. data/vendor/assets/javascripts/d3/plugins/geo/projection/math.js +0 -26
  64. data/vendor/assets/javascripts/d3/plugins/geo/projection/miller.js +0 -17
  65. data/vendor/assets/javascripts/d3/plugins/geo/projection/modified-stereographic.js +0 -106
  66. data/vendor/assets/javascripts/d3/plugins/geo/projection/mollweide.js +0 -37
  67. data/vendor/assets/javascripts/d3/plugins/geo/projection/mt-flat-polar-parabolic.js +0 -23
  68. data/vendor/assets/javascripts/d3/plugins/geo/projection/mt-flat-polar-quartic.js +0 -25
  69. data/vendor/assets/javascripts/d3/plugins/geo/projection/mt-flat-polar-sinusoidal.js +0 -27
  70. data/vendor/assets/javascripts/d3/plugins/geo/projection/natural-earth.js +0 -24
  71. data/vendor/assets/javascripts/d3/plugins/geo/projection/nell-hammer.js +0 -22
  72. data/vendor/assets/javascripts/d3/plugins/geo/projection/parallel1.js +0 -14
  73. data/vendor/assets/javascripts/d3/plugins/geo/projection/parallel2.js +0 -15
  74. data/vendor/assets/javascripts/d3/plugins/geo/projection/peirce-quincuncial.js +0 -7
  75. data/vendor/assets/javascripts/d3/plugins/geo/projection/polyconic.js +0 -31
  76. data/vendor/assets/javascripts/d3/plugins/geo/projection/projection.js +0 -4
  77. data/vendor/assets/javascripts/d3/plugins/geo/projection/quincuncial.js +0 -73
  78. data/vendor/assets/javascripts/d3/plugins/geo/projection/rectangular-polyconic.js +0 -41
  79. data/vendor/assets/javascripts/d3/plugins/geo/projection/robinson.js +0 -85
  80. data/vendor/assets/javascripts/d3/plugins/geo/projection/satellite.js +0 -70
  81. data/vendor/assets/javascripts/d3/plugins/geo/projection/sinu-mollweide.js +0 -20
  82. data/vendor/assets/javascripts/d3/plugins/geo/projection/sinusoidal.js +0 -17
  83. data/vendor/assets/javascripts/d3/plugins/geo/projection/start.js +0 -1
  84. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/airy-test.js +0 -25
  85. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/aitoff-test.js +0 -28
  86. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/armadillo-test.js +0 -30
  87. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/assert.js +0 -32
  88. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/august-test.js +0 -29
  89. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/baker-test.js +0 -28
  90. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/berghaus-test.js +0 -28
  91. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/boggs-test.js +0 -28
  92. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/bonne-test.js +0 -45
  93. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/craig-test.js +0 -40
  94. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/craster-test.js +0 -27
  95. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/eckert4-test.js +0 -26
  96. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/eisenlohr-test.js +0 -36
  97. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/equirectangular-test.js +0 -96
  98. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/fahey-test.js +0 -27
  99. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/ginzburg4-test.js +0 -28
  100. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/ginzburg5-test.js +0 -28
  101. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/ginzburg6-test.js +0 -28
  102. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/ginzburg8-test.js +0 -28
  103. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/ginzburg9-test.js +0 -28
  104. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/gringorten-test.js +0 -26
  105. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/guyou-test.js +0 -28
  106. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/hammer-retroazimuthal-test.js +0 -39
  107. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/hammer-test.js +0 -29
  108. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/hatano-test.js +0 -27
  109. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/healpix-test.js +0 -26
  110. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/hill-test.js +0 -28
  111. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/lagrange-test.js +0 -59
  112. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/larrivee-test.js +0 -27
  113. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/laskowski-test.js +0 -28
  114. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/littrow-test.js +0 -26
  115. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/load.js +0 -20
  116. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/loximuthal-test.js +0 -27
  117. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/modified-stereographic-test.js +0 -26
  118. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/mollweide-test.js +0 -28
  119. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/mt-flat-polar-parabolic-test.js +0 -27
  120. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/mt-flat-polar-quartic-test.js +0 -27
  121. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/mt-flat-polar-sinusoidal-test.js +0 -27
  122. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/natural-earth-test.js +0 -28
  123. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/peirce-quincuncial-test.js +0 -26
  124. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/polyconic-test.js +0 -28
  125. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/quartic-authalic-test.js +0 -0
  126. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/rectangular-polyconic-test.js +0 -48
  127. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/robinson-test.js +0 -28
  128. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/times-test.js +0 -26
  129. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/two-point-azimuthal-test.js +0 -24
  130. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/two-point-equidistant-test.js +0 -26
  131. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/van-der-grinten2-test.js +0 -26
  132. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/van-der-grinten3-test.js +0 -26
  133. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/van-der-grinten4-test.js +0 -32
  134. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/wagner6-test.js +0 -27
  135. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/wiechel-test.js +0 -26
  136. data/vendor/assets/javascripts/d3/plugins/geo/projection/test/winkel3-test.js +0 -28
  137. data/vendor/assets/javascripts/d3/plugins/geo/projection/times.js +0 -21
  138. data/vendor/assets/javascripts/d3/plugins/geo/projection/two-point-azimuthal.js +0 -47
  139. data/vendor/assets/javascripts/d3/plugins/geo/projection/two-point-equidistant.js +0 -83
  140. data/vendor/assets/javascripts/d3/plugins/geo/projection/van-der-grinten.js +0 -43
  141. data/vendor/assets/javascripts/d3/plugins/geo/projection/van-der-grinten2.js +0 -30
  142. data/vendor/assets/javascripts/d3/plugins/geo/projection/van-der-grinten3.js +0 -26
  143. data/vendor/assets/javascripts/d3/plugins/geo/projection/van-der-grinten4.js +0 -56
  144. data/vendor/assets/javascripts/d3/plugins/geo/projection/wagner4.js +0 -10
  145. data/vendor/assets/javascripts/d3/plugins/geo/projection/wagner6.js +0 -17
  146. data/vendor/assets/javascripts/d3/plugins/geo/projection/wagner7.js +0 -24
  147. data/vendor/assets/javascripts/d3/plugins/geo/projection/wiechel.js +0 -28
  148. data/vendor/assets/javascripts/d3/plugins/geo/projection/winkel3.js +0 -41
  149. data/vendor/assets/javascripts/d3/plugins/package.json +0 -22
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: d3js-plugins-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vlad Gorodetsky
@@ -29,7 +29,7 @@ cert_chain:
29
29
  JCf887eMZl/8mEIeCLb+gH5sh5yJJpti2HTLnR4Q1QKWR/0T9tASoQPF3kL62n9+
30
30
  m1B90+fEzJsBDQIAsnLPqxjivWbIIfZ7GeGZyA==
31
31
  -----END CERTIFICATE-----
32
- date: 2013-05-23 00:00:00.000000000 Z
32
+ date: 2013-08-05 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: railties
@@ -67,9 +67,7 @@ files:
67
67
  - d3js-plugins-rails.gemspec
68
68
  - lib/d3js-plugins-rails.rb
69
69
  - lib/d3js-plugins-rails/version.rb
70
- - vendor/assets/javascripts/d3/plugins/.gitignore
71
70
  - vendor/assets/javascripts/d3/plugins/LICENSE
72
- - vendor/assets/javascripts/d3/plugins/Makefile
73
71
  - vendor/assets/javascripts/d3/plugins/README.md
74
72
  - vendor/assets/javascripts/d3/plugins/box/box.js
75
73
  - vendor/assets/javascripts/d3/plugins/bullet/README.md
@@ -83,140 +81,6 @@ files:
83
81
  - vendor/assets/javascripts/d3/plugins/geo/polyhedron/README.md
84
82
  - vendor/assets/javascripts/d3/plugins/geo/polyhedron/polyhedron.js
85
83
  - vendor/assets/javascripts/d3/plugins/geo/projection/README.md
86
- - vendor/assets/javascripts/d3/plugins/geo/projection/airy.js
87
- - vendor/assets/javascripts/d3/plugins/geo/projection/aitoff.js
88
- - vendor/assets/javascripts/d3/plugins/geo/projection/armadillo.js
89
- - vendor/assets/javascripts/d3/plugins/geo/projection/august.js
90
- - vendor/assets/javascripts/d3/plugins/geo/projection/baker.js
91
- - vendor/assets/javascripts/d3/plugins/geo/projection/berghaus.js
92
- - vendor/assets/javascripts/d3/plugins/geo/projection/boggs.js
93
- - vendor/assets/javascripts/d3/plugins/geo/projection/bonne.js
94
- - vendor/assets/javascripts/d3/plugins/geo/projection/bromley.js
95
- - vendor/assets/javascripts/d3/plugins/geo/projection/chamberlin.js
96
- - vendor/assets/javascripts/d3/plugins/geo/projection/collignon.js
97
- - vendor/assets/javascripts/d3/plugins/geo/projection/craig.js
98
- - vendor/assets/javascripts/d3/plugins/geo/projection/craster.js
99
- - vendor/assets/javascripts/d3/plugins/geo/projection/cylindrical-equal-area.js
100
- - vendor/assets/javascripts/d3/plugins/geo/projection/eckert1.js
101
- - vendor/assets/javascripts/d3/plugins/geo/projection/eckert2.js
102
- - vendor/assets/javascripts/d3/plugins/geo/projection/eckert3.js
103
- - vendor/assets/javascripts/d3/plugins/geo/projection/eckert4.js
104
- - vendor/assets/javascripts/d3/plugins/geo/projection/eckert5.js
105
- - vendor/assets/javascripts/d3/plugins/geo/projection/eckert6.js
106
- - vendor/assets/javascripts/d3/plugins/geo/projection/eisenlohr.js
107
- - vendor/assets/javascripts/d3/plugins/geo/projection/elliptic.js
108
- - vendor/assets/javascripts/d3/plugins/geo/projection/end.js
109
- - vendor/assets/javascripts/d3/plugins/geo/projection/fahey.js
110
- - vendor/assets/javascripts/d3/plugins/geo/projection/gall-stereographic.js
111
- - vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg-polyconic.js
112
- - vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg4.js
113
- - vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg5.js
114
- - vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg6.js
115
- - vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg8.js
116
- - vendor/assets/javascripts/d3/plugins/geo/projection/ginzburg9.js
117
- - vendor/assets/javascripts/d3/plugins/geo/projection/gringorten.js
118
- - vendor/assets/javascripts/d3/plugins/geo/projection/guyou.js
119
- - vendor/assets/javascripts/d3/plugins/geo/projection/hammer-retroazimuthal.js
120
- - vendor/assets/javascripts/d3/plugins/geo/projection/hammer.js
121
- - vendor/assets/javascripts/d3/plugins/geo/projection/hatano.js
122
- - vendor/assets/javascripts/d3/plugins/geo/projection/healpix.js
123
- - vendor/assets/javascripts/d3/plugins/geo/projection/hill.js
124
- - vendor/assets/javascripts/d3/plugins/geo/projection/homolosine.js
125
- - vendor/assets/javascripts/d3/plugins/geo/projection/hyperbolic.js
126
- - vendor/assets/javascripts/d3/plugins/geo/projection/index.js
127
- - vendor/assets/javascripts/d3/plugins/geo/projection/interrupt.js
128
- - vendor/assets/javascripts/d3/plugins/geo/projection/kavrayskiy7.js
129
- - vendor/assets/javascripts/d3/plugins/geo/projection/lagrange.js
130
- - vendor/assets/javascripts/d3/plugins/geo/projection/larrivee.js
131
- - vendor/assets/javascripts/d3/plugins/geo/projection/laskowski.js
132
- - vendor/assets/javascripts/d3/plugins/geo/projection/littrow.js
133
- - vendor/assets/javascripts/d3/plugins/geo/projection/loximuthal.js
134
- - vendor/assets/javascripts/d3/plugins/geo/projection/math.js
135
- - vendor/assets/javascripts/d3/plugins/geo/projection/miller.js
136
- - vendor/assets/javascripts/d3/plugins/geo/projection/modified-stereographic.js
137
- - vendor/assets/javascripts/d3/plugins/geo/projection/mollweide.js
138
- - vendor/assets/javascripts/d3/plugins/geo/projection/mt-flat-polar-parabolic.js
139
- - vendor/assets/javascripts/d3/plugins/geo/projection/mt-flat-polar-quartic.js
140
- - vendor/assets/javascripts/d3/plugins/geo/projection/mt-flat-polar-sinusoidal.js
141
- - vendor/assets/javascripts/d3/plugins/geo/projection/natural-earth.js
142
- - vendor/assets/javascripts/d3/plugins/geo/projection/nell-hammer.js
143
- - vendor/assets/javascripts/d3/plugins/geo/projection/parallel1.js
144
- - vendor/assets/javascripts/d3/plugins/geo/projection/parallel2.js
145
- - vendor/assets/javascripts/d3/plugins/geo/projection/peirce-quincuncial.js
146
- - vendor/assets/javascripts/d3/plugins/geo/projection/polyconic.js
147
- - vendor/assets/javascripts/d3/plugins/geo/projection/projection.js
148
- - vendor/assets/javascripts/d3/plugins/geo/projection/quincuncial.js
149
- - vendor/assets/javascripts/d3/plugins/geo/projection/rectangular-polyconic.js
150
- - vendor/assets/javascripts/d3/plugins/geo/projection/robinson.js
151
- - vendor/assets/javascripts/d3/plugins/geo/projection/satellite.js
152
- - vendor/assets/javascripts/d3/plugins/geo/projection/sinu-mollweide.js
153
- - vendor/assets/javascripts/d3/plugins/geo/projection/sinusoidal.js
154
- - vendor/assets/javascripts/d3/plugins/geo/projection/start.js
155
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/airy-test.js
156
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/aitoff-test.js
157
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/armadillo-test.js
158
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/assert.js
159
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/august-test.js
160
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/baker-test.js
161
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/berghaus-test.js
162
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/boggs-test.js
163
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/bonne-test.js
164
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/craig-test.js
165
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/craster-test.js
166
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/eckert4-test.js
167
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/eisenlohr-test.js
168
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/equirectangular-test.js
169
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/fahey-test.js
170
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/ginzburg4-test.js
171
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/ginzburg5-test.js
172
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/ginzburg6-test.js
173
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/ginzburg8-test.js
174
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/ginzburg9-test.js
175
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/gringorten-test.js
176
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/guyou-test.js
177
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/hammer-retroazimuthal-test.js
178
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/hammer-test.js
179
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/hatano-test.js
180
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/healpix-test.js
181
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/hill-test.js
182
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/lagrange-test.js
183
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/larrivee-test.js
184
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/laskowski-test.js
185
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/littrow-test.js
186
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/load.js
187
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/loximuthal-test.js
188
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/modified-stereographic-test.js
189
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/mollweide-test.js
190
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/mt-flat-polar-parabolic-test.js
191
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/mt-flat-polar-quartic-test.js
192
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/mt-flat-polar-sinusoidal-test.js
193
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/natural-earth-test.js
194
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/peirce-quincuncial-test.js
195
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/polyconic-test.js
196
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/quartic-authalic-test.js
197
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/rectangular-polyconic-test.js
198
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/robinson-test.js
199
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/times-test.js
200
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/two-point-azimuthal-test.js
201
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/two-point-equidistant-test.js
202
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/van-der-grinten2-test.js
203
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/van-der-grinten3-test.js
204
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/van-der-grinten4-test.js
205
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/wagner6-test.js
206
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/wiechel-test.js
207
- - vendor/assets/javascripts/d3/plugins/geo/projection/test/winkel3-test.js
208
- - vendor/assets/javascripts/d3/plugins/geo/projection/times.js
209
- - vendor/assets/javascripts/d3/plugins/geo/projection/two-point-azimuthal.js
210
- - vendor/assets/javascripts/d3/plugins/geo/projection/two-point-equidistant.js
211
- - vendor/assets/javascripts/d3/plugins/geo/projection/van-der-grinten.js
212
- - vendor/assets/javascripts/d3/plugins/geo/projection/van-der-grinten2.js
213
- - vendor/assets/javascripts/d3/plugins/geo/projection/van-der-grinten3.js
214
- - vendor/assets/javascripts/d3/plugins/geo/projection/van-der-grinten4.js
215
- - vendor/assets/javascripts/d3/plugins/geo/projection/wagner4.js
216
- - vendor/assets/javascripts/d3/plugins/geo/projection/wagner6.js
217
- - vendor/assets/javascripts/d3/plugins/geo/projection/wagner7.js
218
- - vendor/assets/javascripts/d3/plugins/geo/projection/wiechel.js
219
- - vendor/assets/javascripts/d3/plugins/geo/projection/winkel3.js
220
84
  - vendor/assets/javascripts/d3/plugins/geo/tile/README.md
221
85
  - vendor/assets/javascripts/d3/plugins/geo/tile/tile.js
222
86
  - vendor/assets/javascripts/d3/plugins/geodesic/README.md
@@ -236,6 +100,7 @@ files:
236
100
  - vendor/assets/javascripts/d3/plugins/horizon/README.md
237
101
  - vendor/assets/javascripts/d3/plugins/horizon/horizon.js
238
102
  - vendor/assets/javascripts/d3/plugins/interpolate-zoom/README.md
103
+ - vendor/assets/javascripts/d3/plugins/interpolate-zoom/interpolate-zoom-test.js
239
104
  - vendor/assets/javascripts/d3/plugins/interpolate-zoom/interpolate-zoom.js
240
105
  - vendor/assets/javascripts/d3/plugins/jsonp/README.md
241
106
  - vendor/assets/javascripts/d3/plugins/jsonp/jsonp.js
@@ -243,7 +108,6 @@ files:
243
108
  - vendor/assets/javascripts/d3/plugins/keybinding/keybinding.js
244
109
  - vendor/assets/javascripts/d3/plugins/longscroll/README.md
245
110
  - vendor/assets/javascripts/d3/plugins/longscroll/longscroll.js
246
- - vendor/assets/javascripts/d3/plugins/package.json
247
111
  - vendor/assets/javascripts/d3/plugins/qq/README.md
248
112
  - vendor/assets/javascripts/d3/plugins/qq/qq.js
249
113
  - vendor/assets/javascripts/d3/plugins/rollup/README.md
@@ -274,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
138
  version: '0'
275
139
  requirements: []
276
140
  rubyforge_project:
277
- rubygems_version: 2.0.2
141
+ rubygems_version: 2.0.3
278
142
  signing_key:
279
143
  specification_version: 4
280
144
  summary: Gemified d3js-plugins asset for Rails
metadata.gz.sig CHANGED
@@ -1,5 +1,2 @@
1
- ia%ep��U{��\�����K.0PS|hZ{`(���9,�O�f�џ����
2
- =-gl�V���d��n�|A��"{�贇Z��˧��A�1� �?�7� �2*x�5�hqJ�Y�u��봤M,�l�*�Z��Vg�݄�Ҙ�.4R?E�JXi���FT֎�Afϲ�n��@
3
- ��9�1�˟0y�?=�
4
- `��Ue����2�j�F�
5
- �6T�I�5h+�G7�O�'0d�
1
+ _��" Vi^MF�rc�6�&�s�A3#W ��=|I��m�S��
2
+ ��$�ϒ��,�΁tm/�����I9��F��iZ�[H��g����HٳQ�c�^��Fc��TF �Ե4W3�_��!��V����2��ݷw7De4
@@ -1 +0,0 @@
1
- d3.*.js
@@ -1,18 +0,0 @@
1
- all: \
2
- d3.geo.projection.js \
3
- d3.geo.projection.min.js
4
-
5
- d3.geo.projection.js: $(shell node_modules/.bin/smash --list geo/projection/index.js)
6
- @rm -f $@
7
- node_modules/.bin/smash geo/projection/index.js | node_modules/.bin/uglifyjs - -b indent-level=2 -o $@
8
- @chmod a-w $@
9
-
10
- d3.geo.projection.min.js: d3.geo.projection.js
11
- @rm -f $@
12
- node_modules/.bin/uglifyjs $< -c -m -o $@
13
-
14
- test: all
15
- @node_modules/.bin/vows $(shell find . -name "*-test.js" \! -path "./node_modules/*")
16
-
17
- clean:
18
- rm -f d3.*.js
@@ -1,55 +0,0 @@
1
- import "projection";
2
-
3
- function airy(β) {
4
- var tanβ_2 = Math.tan(.5 * β),
5
- B = 2 * Math.log(Math.cos(.5 * β)) / (tanβ_2 * tanβ_2);
6
-
7
- function forward(λ, φ) {
8
- var cosλ = Math.cos(λ),
9
- cosφ = Math.cos(φ),
10
- sinφ = Math.sin(φ),
11
- cosz = cosφ * cosλ,
12
- K = -((1 - cosz ? Math.log(.5 * (1 + cosz)) / (1 - cosz) : -.5) + B / (1 + cosz));
13
- return [
14
- K * cosφ * Math.sin(λ),
15
- K * sinφ
16
- ];
17
- }
18
-
19
- forward.invert = function(x, y) {
20
- var ρ = Math.sqrt(x * x + y * y),
21
- z = β * -.5,
22
- i = 50, δ;
23
- if (!ρ) return [0, 0];
24
- do {
25
- var z_2 = .5 * z,
26
- cosz_2 = Math.cos(z_2),
27
- sinz_2 = Math.sin(z_2),
28
- tanz_2 = Math.tan(z_2),
29
- lnsecz_2 = Math.log(1 / cosz_2);
30
- z -= δ = (2 / tanz_2 * lnsecz_2 - B * tanz_2 - ρ) / (-lnsecz_2 / (sinz_2 * sinz_2) + 1 - B / (2 * cosz_2 * cosz_2));
31
- } while (Math.abs(δ) > ε && --i > 0);
32
- var sinz = Math.sin(z);
33
- return [
34
- Math.atan2(x * sinz, ρ * Math.cos(z)),
35
- asin(y * sinz / ρ)
36
- ];
37
- };
38
-
39
- return forward;
40
- }
41
-
42
- function airyProjection() {
43
- var β = π / 2,
44
- m = projectionMutator(airy),
45
- p = m(β);
46
-
47
- p.radius = function(_) {
48
- if (!arguments.length) return β / π * 180;
49
- return m(β = _ * π / 180);
50
- };
51
-
52
- return p;
53
- }
54
-
55
- (d3.geo.airy = airyProjection).raw = airy;
@@ -1,42 +0,0 @@
1
- import "projection";
2
-
3
- function aitoff(λ, φ) {
4
- var cosφ = Math.cos(φ),
5
- sinciα = sinci(acos(cosφ * Math.cos(λ /= 2)));
6
- return [
7
- 2 * cosφ * Math.sin(λ) * sinciα,
8
- Math.sin(φ) * sinciα
9
- ];
10
- }
11
-
12
- aitoff.invert = function(x, y) {
13
- var λ = x, φ = y, i = 25;
14
- do {
15
- var sinλ = Math.sin(λ),
16
- sinλ_2 = Math.sin(λ / 2),
17
- cosλ_2 = Math.cos(λ / 2),
18
- sinφ = Math.sin(φ),
19
- cosφ = Math.cos(φ),
20
- sin_2φ = Math.sin(2 * φ),
21
- sin2φ = sinφ * sinφ,
22
- cos2φ = cosφ * cosφ,
23
- sin2λ_2 = sinλ_2 * sinλ_2,
24
- C = 1 - cos2φ * cosλ_2 * cosλ_2,
25
- E = C ? acos(cosφ * cosλ_2) * Math.sqrt(F = 1 / C) : F = 0,
26
- F,
27
- fx = 2 * E * cosφ * sinλ_2 - x,
28
- fy = E * sinφ - y,
29
- δxδλ = F * (cos2φ * sin2λ_2 + E * cosφ * cosλ_2 * sin2φ),
30
- δxδφ = F * (.5 * sinλ * sin_2φ - E * 2 * sinφ * sinλ_2),
31
- δyδλ = F * .25 * (sin_2φ * sinλ_2 - E * sinφ * cos2φ * sinλ),
32
- δyδφ = F * (sin2φ * cosλ_2 + E * sin2λ_2 * cosφ),
33
- denominator = δxδφ * δyδλ - δyδφ * δxδλ;
34
- if (!denominator) break;
35
- var δλ = (fy * δxδφ - fx * δyδφ) / denominator,
36
- δφ = (fx * δyδλ - fy * δxδλ) / denominator;
37
- λ -= δλ, φ -= δφ;
38
- } while ((Math.abs(δλ) > ε || Math.abs(δφ) > ε) && --i > 0);
39
- return [λ, φ];
40
- };
41
-
42
- (d3.geo.aitoff = function() { return projection(aitoff); }).raw = aitoff;
@@ -1,81 +0,0 @@
1
- import "projection";
2
-
3
- function armadillo(φ0) {
4
- var sinφ0 = Math.sin(φ0),
5
- cosφ0 = Math.cos(φ0),
6
- sφ0 = φ0 > 0 ? 1 : -1,
7
- tanφ0 = Math.tan(sφ0 * φ0),
8
- k = (1 + sinφ0 - cosφ0) / 2;
9
-
10
- function forward(λ, φ) {
11
- var cosφ = Math.cos(φ),
12
- cosλ = Math.cos(λ /= 2);
13
- return [
14
- (1 + cosφ) * Math.sin(λ),
15
- // TODO D3 core should allow null or [NaN, NaN] to be returned.
16
- (sφ0 * φ > -Math.atan2(cosλ, tanφ0) - 1e-3 ? 0 : -sφ0 * 10) +
17
- k + Math.sin(φ) * cosφ0 - (1 + cosφ) * sinφ0 * cosλ
18
- ];
19
- }
20
-
21
- forward.invert = function(x, y) {
22
- var λ = 0,
23
- φ = 0,
24
- i = 50;
25
- do {
26
- var cosλ = Math.cos(λ),
27
- sinλ = Math.sin(λ),
28
- cosφ = Math.cos(φ),
29
- sinφ = Math.sin(φ),
30
- A = 1 + cosφ,
31
- fx = A * sinλ - x,
32
- fy = k + sinφ * cosφ0 - A * sinφ0 * cosλ - y,
33
- δxδλ = .5 * A * cosλ,
34
- δxδφ = -sinλ * sinφ,
35
- δyδλ = .5 * sinφ0 * A * sinλ,
36
- δyδφ = cosφ0 * cosφ + sinφ0 * cosλ * sinφ,
37
- denominator = δxδφ * δyδλ - δyδφ * δxδλ,
38
- δλ = .5 * (fy * δxδφ - fx * δyδφ) / denominator,
39
- δφ = (fx * δyδλ - fy * δxδλ) / denominator;
40
- λ -= δλ, φ -= δφ;
41
- } while ((Math.abs(δλ) > ε || Math.abs(δφ) > ε) && --i > 0);
42
- return sφ0 * φ > -Math.atan2(Math.cos(λ), tanφ0) - 1e-3 ? [λ * 2, φ] : null;
43
- };
44
-
45
- return forward;
46
- }
47
-
48
- function armadilloProjection() {
49
- var φ0 = π / 9, // 20°
50
- sφ0 = φ0 > 0 ? 1 : -1,
51
- tanφ0 = Math.tan(sφ0 * φ0),
52
- m = projectionMutator(armadillo),
53
- p = m(φ0),
54
- stream_ = p.stream;
55
-
56
- p.parallel = function(_) {
57
- if (!arguments.length) return φ0 / π * 180;
58
- tanφ0 = Math.tan((sφ0 = (φ0 = _ * π / 180) > 0 ? 1 : -1) * φ0);
59
- return m(φ0);
60
- };
61
-
62
- p.stream = function(stream) {
63
- var rotate = p.rotate(),
64
- rotateStream = stream_(stream),
65
- sphereStream = (p.rotate([0, 0]), stream_(stream));
66
- p.rotate(rotate);
67
- rotateStream.sphere = function() {
68
- sphereStream.polygonStart(), sphereStream.lineStart();
69
- for (var λ = sφ0 * -180; sφ0 * λ < 180; λ += sφ0 * 90) sphereStream.point(λ, sφ0 * 90);
70
- while (sφ0 * (λ -= φ0) >= -180) { // TODO precision?
71
- sphereStream.point(λ, sφ0 * -Math.atan2(Math.cos(λ * radians / 2), tanφ0) * degrees);
72
- }
73
- sphereStream.lineEnd(), sphereStream.polygonEnd();
74
- };
75
- return rotateStream;
76
- };
77
-
78
- return p;
79
- }
80
-
81
- (d3.geo.armadillo = armadilloProjection).raw = armadillo;
@@ -1,36 +0,0 @@
1
- import "projection";
2
- import "hyperbolic";
3
-
4
- function august(λ, φ) {
5
- var tanφ = Math.tan(φ / 2),
6
- k = asqrt(1 - tanφ * tanφ),
7
- c = 1 + k * Math.cos(λ /= 2),
8
- x = Math.sin(λ) * k / c,
9
- y = tanφ / c,
10
- x2 = x * x,
11
- y2 = y * y;
12
- return [
13
- 4 / 3 * x * (3 + x2 - 3 * y2),
14
- 4 / 3 * y * (3 + 3 * x2 - y2)
15
- ];
16
- }
17
-
18
- august.invert = function(x, y) {
19
- x *= 3 / 8, y *= 3 / 8;
20
- if (!x && Math.abs(y) > 1) return null;
21
- var x2 = x * x,
22
- y2 = y * y,
23
- s = 1 + x2 + y2,
24
- sin3η = Math.sqrt(.5 * (s - Math.sqrt(s * s - 4 * y * y))),
25
- η = asin(sin3η) / 3,
26
- ξ = sin3η ? arcosh(Math.abs(y / sin3η)) / 3 : arsinh(Math.abs(x)) / 3,
27
- cosη = Math.cos(η),
28
- coshξ = cosh(ξ),
29
- d = coshξ * coshξ - cosη * cosη;
30
- return [
31
- sgn(x) * 2 * Math.atan2(sinh(ξ) * cosη, .25 - d),
32
- sgn(y) * 2 * Math.atan2(coshξ * Math.sin(η), .25 + d)
33
- ];
34
- };
35
-
36
- (d3.geo.august = function() { return projection(august); }).raw = august;
@@ -1,30 +0,0 @@
1
- import "projection";
2
-
3
- var bakerφ = Math.log(1 + Math.SQRT2);
4
-
5
- function baker(λ, φ) {
6
- var φ0 = Math.abs(φ);
7
- return φ0 < π / 4
8
- ? [λ, Math.log(Math.tan(π / 4 + φ / 2))]
9
- : [
10
- λ * Math.cos(φ0) * (2 * Math.SQRT2 - 1 / Math.sin(φ0)),
11
- sgn(φ) * (2 * Math.SQRT2 * (φ0 - π / 4) - Math.log(Math.tan(φ0 / 2)))
12
- ];
13
- }
14
-
15
- baker.invert = function(x, y) {
16
- if ((y0 = Math.abs(y)) < bakerφ) return [x, 2 * Math.atan(Math.exp(y)) - π / 2];
17
- var sqrt8 = Math.sqrt(8),
18
- φ = π / 4, i = 25, δ, y0;
19
- do {
20
- var cosφ_2 = Math.cos(φ / 2),
21
- tanφ_2 = Math.tan(φ / 2);
22
- φ -= δ = (sqrt8 * (φ - π / 4) - Math.log(tanφ_2) - y0) / (sqrt8 - .5 * cosφ_2 * cosφ_2 / tanφ_2);
23
- } while (Math.abs(δ) > ε2 && --i > 0);
24
- return [
25
- x / (Math.cos(φ) * (sqrt8 - 1 / Math.sin(φ))),
26
- sgn(y) * φ
27
- ];
28
- };
29
-
30
- (d3.geo.baker = function() { return projection(baker); }).raw = baker;
@@ -1,76 +0,0 @@
1
- import "projection";
2
-
3
- var berghausAzimuthalEquidistant = d3.geo.azimuthalEquidistant.raw;
4
-
5
- function berghaus(n) {
6
- var k = 2 * π / n;
7
-
8
- function forward(λ, φ) {
9
- var p = berghausAzimuthalEquidistant(λ, φ);
10
- if (Math.abs(λ) > π / 2) { // back hemisphere
11
- var θ = Math.atan2(p[1], p[0]),
12
- r = Math.sqrt(p[0] * p[0] + p[1] * p[1]),
13
- θ0 = k * Math.round((θ - π / 2) / k) + π / 2,
14
- α = Math.atan2(Math.sin(θ -= θ0), 2 - Math.cos(θ)); // angle relative to lobe end
15
- θ = θ0 + asin(π / r * Math.sin(α)) - α;
16
- p[0] = r * Math.cos(θ);
17
- p[1] = r * Math.sin(θ);
18
- }
19
- return p;
20
- }
21
-
22
- forward.invert = function(x, y) {
23
- var r = Math.sqrt(x * x + y * y);
24
- if (r > π / 2) {
25
- var θ = Math.atan2(y, x),
26
- θ0 = k * Math.round((θ - π / 2) / k) + π / 2,
27
- s = θ > θ0 ? -1 : 1,
28
- A = r * Math.cos(θ0 - θ),
29
- cotα = 1 / Math.tan(s * Math.acos((A - π) / Math.sqrt(π * (π - 2 * A) + r * r)));
30
- θ = θ0 + 2 * Math.atan((cotα + s * Math.sqrt(cotα * cotα - 3)) / 3);
31
- x = r * Math.cos(θ), y = r * Math.sin(θ);
32
- }
33
- return berghausAzimuthalEquidistant.invert(x, y);
34
- };
35
-
36
- return forward;
37
- }
38
-
39
- function berghausProjection() {
40
- var n = 5,
41
- m = projectionMutator(berghaus),
42
- p = m(n),
43
- stream_ = p.stream;
44
-
45
- p.lobes = function(_) {
46
- if (!arguments.length) return n;
47
- return m(n = +_);
48
- };
49
-
50
- p.stream = function(stream) {
51
- var rotate = p.rotate(),
52
- rotateStream = stream_(stream),
53
- sphereStream = (p.rotate([0, 0]), stream_(stream));
54
- p.rotate(rotate);
55
- rotateStream.sphere = function() {
56
- sphereStream.polygonStart(), sphereStream.lineStart();
57
- var ε = 1e-2;
58
- for (var i = 0, δ = 360 / n, φ = 90 - 180 / n; i < n; ++i, φ -= δ) {
59
- sphereStream.point(180, 0);
60
- if (φ < -90) {
61
- sphereStream.point(-90, 180 - φ - ε);
62
- sphereStream.point(-90, 180 - φ + ε);
63
- } else {
64
- sphereStream.point(90, φ + ε);
65
- sphereStream.point(90, φ - ε);
66
- }
67
- }
68
- sphereStream.lineEnd(), sphereStream.polygonEnd();
69
- };
70
- return rotateStream;
71
- };
72
-
73
- return p;
74
- }
75
-
76
- (d3.geo.berghaus = berghausProjection).raw = berghaus;
@@ -1,28 +0,0 @@
1
- import "projection";
2
- import "mollweide";
3
-
4
- function boggs(λ, φ) {
5
- var k = 2.00276,
6
- θ = mollweideθ(φ);
7
- return [
8
- k * λ / (1 / Math.cos(φ) + 1.11072 / Math.cos(θ)),
9
- (φ + Math.SQRT2 * Math.sin(θ)) / k
10
- ];
11
- }
12
-
13
- boggs.invert = function(x, y) {
14
- var k = 2.00276,
15
- ky = k * y,
16
- θ = y < 0 ? -π / 4 : π / 4, i = 25, δ, φ;
17
- do {
18
- φ = ky - Math.SQRT2 * Math.sin(θ);
19
- θ -= δ = (Math.sin(2 * θ) + 2 * θ - π * Math.sin(φ)) / (2 * Math.cos(2 * θ) + 2 + π * Math.cos(φ) * Math.SQRT2 * Math.cos(θ));
20
- } while (Math.abs(δ) > ε && --i > 0);
21
- φ = ky - Math.SQRT2 * Math.sin(θ);
22
- return [
23
- x * (1 / Math.cos(φ) + 1.11072 / Math.cos(θ)) / k,
24
- φ
25
- ];
26
- };
27
-
28
- (d3.geo.boggs = function() { return projection(boggs); }).raw = boggs;
@@ -1,30 +0,0 @@
1
- import "projection";
2
- import "parallel1";
3
- import "sinusoidal";
4
-
5
- function bonne(φ0) {
6
- if (!φ0) return sinusoidal;
7
- var cotφ0 = 1 / Math.tan(φ0);
8
-
9
- function forward(λ, φ) {
10
- var ρ = cotφ0 + φ0 - φ,
11
- E = ρ ? λ * Math.cos(φ) / ρ : ρ;
12
- return [
13
- ρ * Math.sin(E),
14
- cotφ0 - ρ * Math.cos(E)
15
- ];
16
- }
17
-
18
- forward.invert = function(x, y) {
19
- var ρ = Math.sqrt(x * x + (y = cotφ0 - y) * y),
20
- φ = cotφ0 + φ0 - ρ;
21
- return [
22
- ρ / Math.cos(φ) * Math.atan2(x, y),
23
- φ
24
- ];
25
- };
26
-
27
- return forward;
28
- }
29
-
30
- (d3.geo.bonne = function() { return parallel1Projection(bonne).parallel(45); }).raw = bonne;
@@ -1,6 +0,0 @@
1
- import "projection";
2
- import "mollweide";
3
-
4
- var bromley = mollweideBromley(1, 4 / π, π);
5
-
6
- (d3.geo.bromley = function() { return projection(bromley); }).raw = bromley;