Check exten when rendering highlight tiles
This commit is contained in:
parent
0709deae83
commit
4c9a37c831
@ -209,6 +209,10 @@ function handle_highlight_tile_request(req, res) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (outside_extent(z, x, y)) {
|
||||||
|
return empty_tile()
|
||||||
|
}
|
||||||
|
|
||||||
render_tile('highlight', int_z, int_x, int_y, geometry_id, function (err, im) {
|
render_tile('highlight', int_z, int_x, int_y, geometry_id, function (err, im) {
|
||||||
if (err) throw err
|
if (err) throw err
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user