Commit 25f52691 authored by Chef Projet Prodige's avatar Chef Projet Prodige
Browse files

Update PrintController.php

parent 961c70c8
......@@ -630,7 +630,8 @@ class PrintController extends ControllerBase
/*$x = $extent[0] + ($extent[2] - $extent[0])/2;
$y = $extent[1] + ($extent[3] - $extent[1])/2;*/
$x = ($minx + $maxx)/2;
$y = ($miny + $maxy)/2;
// hack... ajout d'un décalage, pour centrer le polygone, décalage vers le bas sinon
$y = ($miny + $maxy)/2 - 450;
$centerOfExtent = [$x, $y];
if (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment