Rename overviews_query_rewriter -> overviews-query-rewriter
This commit is contained in:
parent
3acaac5403
commit
8fe0112568
@ -6,7 +6,7 @@ var BBoxFilter = require('../models/filter/bbox');
|
|||||||
var DataviewFactory = require('../models/dataview/factory');
|
var DataviewFactory = require('../models/dataview/factory');
|
||||||
var DataviewFactoryWithOverviews = require('../models/dataview/overviews/factory');
|
var DataviewFactoryWithOverviews = require('../models/dataview/overviews/factory');
|
||||||
const dbParamsFromReqParams = require('../utils/database-params');
|
const dbParamsFromReqParams = require('../utils/database-params');
|
||||||
var OverviewsQueryRewriter = require('../utils/overviews_query_rewriter');
|
var OverviewsQueryRewriter = require('../utils/overviews-query-rewriter');
|
||||||
var overviewsQueryRewriter = new OverviewsQueryRewriter({
|
var overviewsQueryRewriter = new OverviewsQueryRewriter({
|
||||||
zoom_level: 'CDB_ZoomFromScale(!scale_denominator!)'
|
zoom_level: 'CDB_ZoomFromScale(!scale_denominator!)'
|
||||||
});
|
});
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
const fqdn = require('@carto/fqdn-sync');
|
const fqdn = require('@carto/fqdn-sync');
|
||||||
var _ = require('underscore');
|
var _ = require('underscore');
|
||||||
var OverviewsQueryRewriter = require('./utils/overviews_query_rewriter');
|
var OverviewsQueryRewriter = require('./utils/overviews-query-rewriter');
|
||||||
|
|
||||||
var rendererConfig = _.defaults(global.environment.renderer || {}, {
|
var rendererConfig = _.defaults(global.environment.renderer || {}, {
|
||||||
cache_ttl: 60000, // milliseconds
|
cache_ttl: 60000, // milliseconds
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
var _ = require('underscore');
|
var _ = require('underscore');
|
||||||
var serverOptions = require('../../../../lib/server_options');
|
var serverOptions = require('../../../../lib/server_options');
|
||||||
var mapnik = require('windshaft').mapnik;
|
var mapnik = require('windshaft').mapnik;
|
||||||
var OverviewsQueryRewriter = require('../../../../lib/utils/overviews_query_rewriter');
|
var OverviewsQueryRewriter = require('../../../../lib/utils/overviews-query-rewriter');
|
||||||
var overviewsQueryRewriter = new OverviewsQueryRewriter({
|
var overviewsQueryRewriter = new OverviewsQueryRewriter({
|
||||||
zoom_level: 'CDB_ZoomFromScale(!scale_denominator!)'
|
zoom_level: 'CDB_ZoomFromScale(!scale_denominator!)'
|
||||||
});
|
});
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
require('../../support/test_helper');
|
require('../../support/test_helper');
|
||||||
|
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
var OverviewsQueryRewriter = require('../../../lib/utils/overviews_query_rewriter');
|
var OverviewsQueryRewriter = require('../../../lib/utils/overviews-query-rewriter');
|
||||||
var overviewsQueryRewriter = new OverviewsQueryRewriter({
|
var overviewsQueryRewriter = new OverviewsQueryRewriter({
|
||||||
zoom_level: 'ZoomLevel()'
|
zoom_level: 'ZoomLevel()'
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user