Fix bbox template

This commit is contained in:
Raul Ochoa
2016-03-21 18:16:54 +01:00
parent d5c5c7bdbb
commit f928147559
+3 -1
View File
@@ -7,7 +7,9 @@ var filterQueryTpl = dot.template([
'WHERE {{=it._filters}}'
].join('\n'));
var bboxFilterTpl = '{{=it._column}} && ST_Transform(ST_MakeEnvelope({{=it._bbox}}, 4326), {{=it._srid}})';
var bboxFilterTpl = dot.template(
'{{=it._column}} && ST_Transform(ST_MakeEnvelope({{=it._bbox}}, 4326), {{=it._srid}})'
);
var LATITUDE_MAX_VALUE = 85.0511287798066;
var LONGITUDE_LOWER_BOUND = -180;