Attributes backend using mapconfig provider to access attributes
This commit is contained in:
parent
67afd8738b
commit
469b602484
@ -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 || {});
|
||||
|
Loading…
Reference in New Issue
Block a user