Fix zoomto padding

This commit is contained in:
Willem Dantuma 2020-11-01 15:34:01 +01:00
parent 0e13b98b7f
commit 0a384a9196

View File

@ -28,7 +28,7 @@ export class ZoomToExtentComponent implements OnChanges {
var bottom = Math.round(size[1] / 2);
var top = 1 * rem;
if (size[0] > threshold) {
bottom = 1 * rem;
bottom = 3 * rem;
left = 23 * rem;
}
options.padding = [top, right, bottom, left];