@@ -26,11 +26,11 @@ const GraphCreatePanel = (props, {localize: _}) => {
2626 < TraceSelector label = { _ ( 'Type' ) } attr = "type" show />
2727
2828 < PlotlySection name = { _ ( 'Data' ) } >
29+ < DataSelector label = { _ ( 'Latitude' ) } attr = "lat" />
30+ < DataSelector label = { _ ( 'Longitude' ) } attr = "lon" />
2931 < DataSelector label = { _ ( 'Labels' ) } attr = "labels" />
3032 < DataSelector label = { _ ( 'Values' ) } attr = "values" />
3133 < DataSelector label = { _ ( 'Locations' ) } attr = "locations" />
32- < DataSelector label = { _ ( 'Latitude' ) } attr = "lat" />
33- < DataSelector label = { _ ( 'Longitude' ) } attr = "lon" />
3434 < Radio
3535 label = { _ ( 'Orientation' ) }
3636 attr = "orientation"
@@ -156,54 +156,6 @@ const GraphCreatePanel = (props, {localize: _}) => {
156156 } ,
157157 ] }
158158 />
159- < LayoutSection >
160- < Dropdown
161- label = { _ ( 'Map Region' ) }
162- attr = "geo.scope"
163- options = { [
164- { label : _ ( 'World' ) , value : 'world' } ,
165- { label : _ ( 'USA' ) , value : 'usa' } ,
166- { label : _ ( 'Europe' ) , value : 'europe' } ,
167- { label : _ ( 'Asia' ) , value : 'asia' } ,
168- { label : _ ( 'Africa' ) , value : 'africa' } ,
169- { label : _ ( 'North America' ) , value : 'north america' } ,
170- { label : _ ( 'South America' ) , value : 'south america' } ,
171- ] }
172- clearable = { false }
173- />
174- < Dropdown
175- label = { _ ( 'Projection' ) }
176- attr = "geo.projection.type"
177- clearable = { false }
178- options = { [
179- { label : _ ( 'Equirectangular' ) , value : 'equirectangular' } ,
180- { label : _ ( 'Mercator' ) , value : 'mercator' } ,
181- { label : _ ( 'Orthographic' ) , value : 'orthographic' } ,
182- { label : _ ( 'Natural Earth' ) , value : 'natural earth' } ,
183- { label : _ ( 'Albers USA' ) , value : 'albers usa' } ,
184- { label : _ ( 'Winkel Tripel' ) , value : 'winkel tripel' } ,
185- { label : _ ( 'Robinson' ) , value : 'robinson' } ,
186- { label : _ ( 'Miller' ) , value : 'miller' } ,
187- { label : _ ( 'Kavrayskiy 7' ) , value : 'kavrayskiy7' } ,
188- { label : _ ( 'Eckert 4' ) , value : 'eckert4' } ,
189- { label : _ ( 'Azimuthal Equal Area' ) , value : 'azimuthal equal area' } ,
190- {
191- label : _ ( 'Azimuthal Equidistant' ) ,
192- value : 'azimuthal equidistant' ,
193- } ,
194- { label : _ ( 'Conic Equal Area' ) , value : 'conic equal area' } ,
195- { label : _ ( 'Conic Conformal' ) , value : 'conic conformal' } ,
196- { label : _ ( 'Conic Equidistant' ) , value : 'conic equidistant' } ,
197- { label : _ ( 'Gnomonic' ) , value : 'gnomonic' } ,
198- { label : _ ( 'Stereographic' ) , value : 'stereographic' } ,
199- { label : _ ( 'Mollweide' ) , value : 'mollweide' } ,
200- { label : _ ( 'Hammer' ) , value : 'hammer' } ,
201- { label : _ ( 'Transverse Mercator' ) , value : 'transverse mercator' } ,
202- { label : _ ( 'Aitoff' ) , value : 'aitoff' } ,
203- { label : _ ( 'Sinusoidal' ) , value : 'sinusoidal' } ,
204- ] }
205- />
206- </ LayoutSection >
207159 < Numeric label = { _ ( 'Sum' ) } step = { 10 } attr = "sum" />
208160 < Radio
209161 label = { _ ( 'Transpose' ) }
@@ -214,6 +166,54 @@ const GraphCreatePanel = (props, {localize: _}) => {
214166 ] }
215167 />
216168 </ PlotlySection >
169+ < LayoutSection name = { _ ( 'Map Options' ) } >
170+ < Dropdown
171+ label = { _ ( 'Map Region' ) }
172+ attr = "geo.scope"
173+ options = { [
174+ { label : _ ( 'World' ) , value : 'world' } ,
175+ { label : _ ( 'USA' ) , value : 'usa' } ,
176+ { label : _ ( 'Europe' ) , value : 'europe' } ,
177+ { label : _ ( 'Asia' ) , value : 'asia' } ,
178+ { label : _ ( 'Africa' ) , value : 'africa' } ,
179+ { label : _ ( 'North America' ) , value : 'north america' } ,
180+ { label : _ ( 'South America' ) , value : 'south america' } ,
181+ ] }
182+ clearable = { false }
183+ />
184+ < Dropdown
185+ label = { _ ( 'Projection' ) }
186+ attr = "geo.projection.type"
187+ clearable = { false }
188+ options = { [
189+ { label : _ ( 'Equirectangular' ) , value : 'equirectangular' } ,
190+ { label : _ ( 'Mercator' ) , value : 'mercator' } ,
191+ { label : _ ( 'Orthographic' ) , value : 'orthographic' } ,
192+ { label : _ ( 'Natural Earth' ) , value : 'natural earth' } ,
193+ { label : _ ( 'Albers USA' ) , value : 'albers usa' } ,
194+ { label : _ ( 'Winkel Tripel' ) , value : 'winkel tripel' } ,
195+ { label : _ ( 'Robinson' ) , value : 'robinson' } ,
196+ { label : _ ( 'Miller' ) , value : 'miller' } ,
197+ { label : _ ( 'Kavrayskiy 7' ) , value : 'kavrayskiy7' } ,
198+ { label : _ ( 'Eckert 4' ) , value : 'eckert4' } ,
199+ { label : _ ( 'Azimuthal Equal Area' ) , value : 'azimuthal equal area' } ,
200+ {
201+ label : _ ( 'Azimuthal Equidistant' ) ,
202+ value : 'azimuthal equidistant' ,
203+ } ,
204+ { label : _ ( 'Conic Equal Area' ) , value : 'conic equal area' } ,
205+ { label : _ ( 'Conic Conformal' ) , value : 'conic conformal' } ,
206+ { label : _ ( 'Conic Equidistant' ) , value : 'conic equidistant' } ,
207+ { label : _ ( 'Gnomonic' ) , value : 'gnomonic' } ,
208+ { label : _ ( 'Stereographic' ) , value : 'stereographic' } ,
209+ { label : _ ( 'Mollweide' ) , value : 'mollweide' } ,
210+ { label : _ ( 'Hammer' ) , value : 'hammer' } ,
211+ { label : _ ( 'Transverse Mercator' ) , value : 'transverse mercator' } ,
212+ { label : _ ( 'Aitoff' ) , value : 'aitoff' } ,
213+ { label : _ ( 'Sinusoidal' ) , value : 'sinusoidal' } ,
214+ ] }
215+ />
216+ </ LayoutSection >
217217 </ TraceAccordion >
218218 ) ;
219219} ;
0 commit comments