Remove comment

This commit is contained in:
Javier Goizueta 2016-05-18 13:55:09 +02:00
parent ba30f460ee
commit 8da7cf73c1

View File

@ -55,7 +55,6 @@ function zoom_level_for_bbox(bbox) {
// should use extended overviews metadata to compute this properly.
if ( bbox ) {
var bbox_values = _.map(bbox.split(','), function(v) { return +v; });
// TODO: look at possible crossing-180º issues
var w = Math.abs(bbox_values[2]-bbox_values[0]);
var h = Math.abs(bbox_values[3]-bbox_values[1]);
var max_dim = Math.min(w, h);