Added rendererCache as dependency for map controller

This commit is contained in:
Mario de Frutos
2017-05-09 11:58:48 +02:00
parent 3f6c8fa51c
commit 525c0f2afa
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -32,6 +32,7 @@ var DummyMapConfigProvider = require('../models/mapconfig/provider/dummy-mapconf
* @param {UserLimitsApi} userLimitsApi
* @param {LayergroupAffectedTables} layergroupAffectedTables
* @param {MapConfigAdapter} mapConfigAdapter
* @param {RendererCache} rendererCache
* @constructor
*/
function MapController(authApi, pgConnection, templateMaps, mapBackend, metadataBackend,
+2 -1
View File
@@ -207,7 +207,8 @@ module.exports = function(serverOptions) {
surrogateKeysCache,
userLimitsApi,
layergroupAffectedTablesCache,
mapConfigAdapter
mapConfigAdapter,
rendererCache
).register(app);
new controller.NamedMaps(