add to log anonymous maps instantiations that use overviews tables

Added to tiler profiler object:

overviewsAddedToMapconfig: true
mapType: 'anonymous'
This commit is contained in:
Eneko Lakasta
2018-09-04 15:13:17 +02:00
parent 95d179835c
commit 7df0fb456b
4 changed files with 32 additions and 12 deletions
+1
View File
@@ -72,6 +72,7 @@ describe('overviews metadata', function() {
data: JSON.stringify(layergroup)
}, {}, function(res) {
assert.equal(res.statusCode, 200, res.body);
assert.ok(JSON.parse(res.headers['x-tiler-profiler']).overviewsAddedToMapconfig);
var parsedBody = JSON.parse(res.body);
assert.equal(res.headers['x-layergroup-id'], parsedBody.layergroupid);
expected_token = parsedBody.layergroupid;