Order of adapters: named maps should expand named layers as first step
This commit is contained in:
parent
4759d178d3
commit
5a2afa9b89
@ -157,9 +157,9 @@ module.exports = function(serverOptions) {
|
|||||||
var turboCartoParser = new TurboCartoParser(pgQueryRunner);
|
var turboCartoParser = new TurboCartoParser(pgQueryRunner);
|
||||||
|
|
||||||
var mapConfigAdapter = new MapConfigAdapter([
|
var mapConfigAdapter = new MapConfigAdapter([
|
||||||
|
new MapConfigNamedLayersAdapter(templateMaps, pgConnection),
|
||||||
new SqlWrapMapConfigAdapter(),
|
new SqlWrapMapConfigAdapter(),
|
||||||
new AnalysisMapConfigAdapter(analysisBackend),
|
new AnalysisMapConfigAdapter(analysisBackend),
|
||||||
new MapConfigNamedLayersAdapter(templateMaps, pgConnection),
|
|
||||||
new MapConfigOverviewsAdapter(overviewsMetadataApi, filterStatsApi),
|
new MapConfigOverviewsAdapter(overviewsMetadataApi, filterStatsApi),
|
||||||
new TurboCartoAdapter(turboCartoParser)
|
new TurboCartoAdapter(turboCartoParser)
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user