@@ -24,24 +24,22 @@ exports.projNames = {
24
24
'winkel tripel' : 'winkel3' ,
25
25
'aitoff' : 'aitoff' ,
26
26
'sinusoidal' : 'sinusoidal' ,
27
- /*
28
- // potential projections that could be added to the API
29
27
30
28
'airy' : 'airy' ,
31
29
// 'albers': 'albers',
32
- 'armadillo': 'armadillo',
30
+ // 'armadillo': 'armadillo',
33
31
'august' : 'august' ,
34
- 'baker': 'baker',
35
- 'berghaus': 'berghaus',
36
- 'bertin1953': 'bertin1953',
32
+ // 'baker': 'baker',
33
+ // 'berghaus': 'berghaus',
34
+ // 'bertin1953': 'bertin1953',
37
35
'boggs' : 'boggs' ,
38
- 'bonne': 'bonne',
39
- 'bottomley': 'bottomley',
36
+ // 'bonne': 'bonne',
37
+ // 'bottomley': 'bottomley',
40
38
'bromley' : 'bromley' ,
41
39
// 'chamberlin': 'chamberlin',
42
- 'chamberlin africa': 'chamberlinAfrica',
40
+ // 'chamberlin africa': 'chamberlinAfrica',
43
41
'collignon' : 'collignon' ,
44
- 'craig': 'craig',
42
+ // 'craig': 'craig',
45
43
'craster' : 'craster' ,
46
44
'cylindrical equal area' : 'cylindricalEqualArea' ,
47
45
'cylindrical stereographic' : 'cylindricalStereographic' ,
@@ -55,31 +53,31 @@ exports.projNames = {
55
53
'foucaut' : 'foucaut' ,
56
54
'foucaut sinusoidal' : 'foucautSinusoidal' ,
57
55
'gilbert' : 'gilbert' ,
58
- 'gingery': 'gingery',
59
- 'ginzburg4': 'ginzburg4',
56
+ // 'gingery': 'gingery',
57
+ // 'ginzburg4': 'ginzburg4',
60
58
'ginzburg5' : 'ginzburg5' ,
61
59
'ginzburg6' : 'ginzburg6' ,
62
60
'ginzburg8' : 'ginzburg8' ,
63
61
'ginzburg9' : 'ginzburg9' ,
64
62
'gringorten' : 'gringorten' ,
65
63
'guyou' : 'guyou' ,
66
- 'hammer retroazimuthal': 'hammerRetroazimuthal',
67
- 'healpix': 'healpix',
64
+ // 'hammer retroazimuthal': 'hammerRetroazimuthal',
65
+ // 'healpix': 'healpix',
68
66
'hill' : 'hill' ,
69
- 'homolosine': 'homolosine',
67
+ // 'homolosine': 'homolosine',
70
68
'hufnagel' : 'hufnagel' ,
71
69
'hyperelliptical' : 'hyperelliptical' ,
72
70
'lagrange' : 'lagrange' ,
73
- 'larrivee': 'larrivee',
74
- 'laskowski': 'laskowski',
75
- 'littrow': 'littrow',
76
- 'loximuthal': 'loximuthal',
71
+ // 'larrivee': 'larrivee',
72
+ // 'laskowski': 'laskowski',
73
+ // 'littrow': 'littrow',
74
+ // 'loximuthal': 'loximuthal',
77
75
// 'modified stereographic': 'modifiedStereographic',
78
- 'modified stereographic alaska': 'modifiedStereographicAlaska',
79
- 'modified stereographic gs48': 'modifiedStereographicGs48',
80
- 'modified stereographic gs50': 'modifiedStereographicGs50',
81
- 'modified stereographic miller': 'modifiedStereographicMiller',
82
- 'modified stereographic lee': 'modifiedStereographicLee',
76
+ // 'modified stereographic alaska': 'modifiedStereographicAlaska',
77
+ // 'modified stereographic gs48': 'modifiedStereographicGs48',
78
+ // 'modified stereographic gs50': 'modifiedStereographicGs50',
79
+ // 'modified stereographic miller': 'modifiedStereographicMiller',
80
+ // 'modified stereographic lee': 'modifiedStereographicLee',
83
81
'mt flat polar parabolic' : 'mtFlatPolarParabolic' ,
84
82
'mt flat polar quartic' : 'mtFlatPolarQuartic' ,
85
83
'mt flat polar sinusoidal' : 'mtFlatPolarSinusoidal' ,
@@ -88,10 +86,10 @@ exports.projNames = {
88
86
'nell hammer' : 'nellHammer' ,
89
87
'nicolosi' : 'nicolosi' ,
90
88
'patterson' : 'patterson' ,
91
- 'polyconic': 'polyconic',
89
+ // 'polyconic': 'polyconic',
92
90
'rectangular polyconic' : 'rectangularPolyconic' ,
93
91
'satellite' : 'satellite' ,
94
- 'sinu mollweide': 'sinuMollweide',
92
+ // 'sinu mollweide': 'sinuMollweide',
95
93
'times' : 'times' ,
96
94
// 'two point azimuthal': 'twoPointAzimuthal',
97
95
// 'two point azimuthalUsa': 'twoPointAzimuthalUsa',
@@ -109,21 +107,20 @@ exports.projNames = {
109
107
'winkel3' : 'winkel3' ,
110
108
111
109
// 'interrupt': 'interrupt',
112
- 'interrupted homolosine': 'interruptedHomolosine',
113
- 'interrupted sinusoidal': 'interruptedSinusoidal',
114
- 'interrupted boggs': 'interruptedBoggs',
115
- 'interrupted sinu mollweide': 'interruptedSinuMollweide',
116
- 'interrupted mollweide': 'interruptedMollweide',
117
- 'interrupted mollweide hemispheres': 'interruptedMollweideHemispheres',
118
- 'interrupted quartic authalic': 'interruptedQuarticAuthalic',
110
+ // 'interrupted homolosine': 'interruptedHomolosine',
111
+ // 'interrupted sinusoidal': 'interruptedSinusoidal',
112
+ // 'interrupted boggs': 'interruptedBoggs',
113
+ // 'interrupted sinu mollweide': 'interruptedSinuMollweide',
114
+ // 'interrupted mollweide': 'interruptedMollweide',
115
+ // 'interrupted mollweide hemispheres': 'interruptedMollweideHemispheres',
116
+ // 'interrupted quartic authalic': 'interruptedQuarticAuthalic',
119
117
120
- 'polyhedral butterfly': 'polyhedralButterfly',
121
- 'polyhedral collignon': 'polyhedralCollignon',
122
- 'polyhedral waterman': 'polyhedralWaterman',
118
+ // 'polyhedral butterfly': 'polyhedralButterfly',
119
+ // 'polyhedral collignon': 'polyhedralCollignon',
120
+ // 'polyhedral waterman': 'polyhedralWaterman',
123
121
124
122
'gringorten quincuncial' : 'gringortenQuincuncial' ,
125
123
'peirce quincuncial' : 'peirceQuincuncial' ,
126
- */
127
124
} ;
128
125
129
126
var keys = Object . keys ( exports . projNames ) . sort ( ) ;
@@ -136,7 +133,7 @@ var layout = {
136
133
columns : nCol
137
134
} ,
138
135
showlegend : false ,
139
- width : 650 ,
136
+ width : 1800 ,
140
137
height : 1200 ,
141
138
margin : {
142
139
l : 20 ,
@@ -147,11 +144,12 @@ var layout = {
147
144
annotations : [ {
148
145
showarrow : false ,
149
146
text : 'fitbounds<br>\'locations\'<br>for all<br>projection<br>types' ,
150
- font : { size : 24 } ,
147
+ font : { size : 20 } ,
151
148
x : 1 ,
152
149
xref : 'paper' ,
153
150
xanchor : 'right' ,
154
- y : 0.1 ,
151
+ yref : 'paper' ,
152
+ y : 0 ,
155
153
yanchor : 'bottom'
156
154
} ] ,
157
155
} ;
@@ -166,7 +164,7 @@ for(var col = 0; col < nCol; col++) {
166
164
var geo = 'geo' + ( n ? n + 1 : '' ) ;
167
165
var usa = name . indexOf ( 'usa' ) !== - 1 ;
168
166
var locationmode = usa ? 'USA-states' : undefined ;
169
- var locations = [ usa ? 'WA' : 'AUS' ] ;
167
+ var locations = usa ? [ 'WA' ] : [ 'AUS' ] ;
170
168
171
169
data . push ( {
172
170
name : name ,
@@ -211,6 +209,7 @@ exports.axesNames = ['lonaxis', 'lataxis'];
211
209
212
210
// max longitudinal angular span (EXPERIMENTAL)
213
211
exports . lonaxisSpan = {
212
+ 'satellite' : 120 ,
214
213
'orthographic' : 180 ,
215
214
'azimuthal equal area' : 360 ,
216
215
'azimuthal equidistant' : 360 ,
0 commit comments