Widgets inside layer options
This commit is contained in:
parent
8b222914c5
commit
3a05d8c2e8
@ -33,13 +33,13 @@ describe('histograms', function() {
|
|||||||
options: {
|
options: {
|
||||||
sql: 'select * from populated_places_simple_reduced',
|
sql: 'select * from populated_places_simple_reduced',
|
||||||
cartocss: '#layer { marker-fill: red; marker-width: 32; marker-allow-overlap: true; }',
|
cartocss: '#layer { marker-fill: red; marker-width: 32; marker-allow-overlap: true; }',
|
||||||
cartocss_version: '2.3.0'
|
cartocss_version: '2.3.0',
|
||||||
},
|
widgets: {
|
||||||
widgets: {
|
pop_max: {
|
||||||
pop_max: {
|
type: 'histogram',
|
||||||
type: 'histogram',
|
options: {
|
||||||
options: {
|
column: 'pop_max'
|
||||||
column: 'pop_max'
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,13 +33,13 @@ describe('lists', function() {
|
|||||||
options: {
|
options: {
|
||||||
sql: 'select * from test_table',
|
sql: 'select * from test_table',
|
||||||
cartocss: '#layer { marker-fill: red; marker-width: 32; marker-allow-overlap: true; }',
|
cartocss: '#layer { marker-fill: red; marker-width: 32; marker-allow-overlap: true; }',
|
||||||
cartocss_version: '2.3.0'
|
cartocss_version: '2.3.0',
|
||||||
},
|
widgets: {
|
||||||
widgets: {
|
names: {
|
||||||
names: {
|
type: 'list',
|
||||||
type: 'list',
|
options: {
|
||||||
options: {
|
columns: ['name']
|
||||||
columns: ['name']
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user