Attributes backend using mapconfig provider to access attributes

This commit is contained in:
Raul Ochoa 2015-09-14 18:46:22 +02:00
parent 67afd8738b
commit 469b602484

View File

@ -59,7 +59,10 @@ LayergroupController.prototype.attributes = function(req, res) {
assert.ifError(err);
self.attributesBackend.getFeatureAttributes(req.params, false, this);
var mapConfigProvider = new MapStoreMapConfigProvider(
self.mapStore, req.context.user, self.userLimitsApi, req.params
);
self.attributesBackend.getFeatureAttributes(mapConfigProvider, req.params, false, this);
},
function finish(err, tile, stats) {
req.profiler.add(stats || {});