From f4920504e5190835312bfa3e4630aeac39da6047 Mon Sep 17 00:00:00 2001 From: Aziz <119948730+aziz-access@users.noreply.github.com> Date: Tue, 4 Jul 2023 15:25:09 +0200 Subject: [PATCH] feat(geo): Print with resolution PDF and image (#1264) * feat(geo): Added rotate option and north direction to the map when printing * solve lint and optimize map updateControls function * integrate custom controle rotation-button component in the map * adjust image in all template * solve scale and rotate arrow color and position in pdf export * code improvement and write documentations * sove lint * feat(geo): add resolution options for print module * add resolution to image export * solve lint * code improvement * code improvement eliminate repeated code * solve lint * code refactoring * solve lint * delete mapOverlayHTML from dom * solve comments * add type to map canvas * delete console log * merge branches and adjust code * delete scaleLine from print demo component * solve conflicts * code improvement add resetOriginalMapSize, setMapImageResolution and setMapResolution for pdf * add access modifiers to function --- .../print-form/print-form.component.html | 2 +- .../src/lib/print/print/print.component.ts | 4 +- .../geo/src/lib/print/shared/print.service.ts | 83 ++++++++++++++----- 3 files changed, 65 insertions(+), 24 deletions(-) diff --git a/packages/geo/src/lib/print/print-form/print-form.component.html b/packages/geo/src/lib/print/print-form/print-form.component.html index 721cf8c7c0..4831d7cdbc 100644 --- a/packages/geo/src/lib/print/print-form/print-form.component.html +++ b/packages/geo/src/lib/print/print-form/print-form.component.html @@ -113,7 +113,7 @@ -