Minor style umprovements
This commit is contained in:
@@ -180,6 +180,7 @@ MapController.prototype.create = function(req, res, prepareConfigFn, next) {
|
||||
},
|
||||
function afterLayergroupCreate(err, layergroup) {
|
||||
assert.ifError(err);
|
||||
|
||||
res.locals.mapconfig = mapConfig;
|
||||
res.locals.analysesResults = context.analysesResults;
|
||||
res.locals.layergroup = layergroup;
|
||||
@@ -273,8 +274,8 @@ MapController.prototype.instantiateTemplate = function(req, res, prepareParamsFn
|
||||
res.locals.analysesResults = mapConfigProvider.analysesResults;
|
||||
res.locals.layergroup = layergroup;
|
||||
res.locals.template = mapConfigProvider.template;
|
||||
res.locals.context = mapConfigProvider.context;
|
||||
res.locals.templateName = mapConfigProvider.getTemplateName();
|
||||
res.locals.context = mapConfigProvider.context;
|
||||
|
||||
const afterLayergroupCreate = self.afterLayergroupCreateBuilder({
|
||||
useTemplateHash: true
|
||||
|
||||
Reference in New Issue
Block a user