set mapType in the controller instead of in the adapter
This commit is contained in:
@@ -158,7 +158,10 @@ function prepareAdapterMapConfig (mapConfigAdapter) {
|
||||
context,
|
||||
(err, requestMapConfig, stats = { overviewsUsed : false }) => {
|
||||
req.profiler.done('anonymous.getMapConfig');
|
||||
|
||||
stats.mapType = 'anonymous';
|
||||
req.profiler.add(stats);
|
||||
|
||||
|
||||
if (err) {
|
||||
return next(err);
|
||||
|
||||
Reference in New Issue
Block a user