-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Print] Ability to print image legend with an appropriate scale #9839
Milestone
Comments
dsuren1
added a commit
to dsuren1/MapStore2
that referenced
this issue
Dec 22, 2023
5 tasks
5 tasks
offtherailz
pushed a commit
that referenced
this issue
Jan 9, 2024
ElenaGallo
added
the
BackportNeeded
Commits provided for an issue need to be backported to the milestone's stable branch
label
Jan 9, 2024
dsuren1
added a commit
to dsuren1/MapStore2
that referenced
this issue
Jan 10, 2024
…te scale (geosolutions-it#9847) (cherry picked from commit e4a2a3a)
tdipisa
pushed a commit
that referenced
this issue
Jan 10, 2024
tdipisa
removed
the
BackportNeeded
Commits provided for an issue need to be backported to the milestone's stable branch
label
Jan 10, 2024
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Provide the ability to print legend image with the configured scale of the layer in the layer options (Display -> Legends).
Currently the MS uses the
iconSize
of the legend options in print tool to setwidth
andheight
of the legendExample: with internal layer
The print tool's
Legend Options
will be modified to have two fields calledWidth
andHeight
replacing theIcon Size
field along with a new checkbox field calledOverride icon size
. These new fields will hold the current default size of24px
.This override option will allow user to override legend's configured scale (width and height) set for the layer in the layer options and when more than one layer is present, this option will be applied for the all the applicable layers.
By default, this option will be unchecked, meaning the legend's width and height configured in layer will be used per layer
Reason: Print tool has a common option for all the layers selected for printing and cannot be made available per layer, hence a common option will be used for all layer when user prefer to override the icon size
Other useful information
Ref: georchestra/mapstore2-georchestra#682
The text was updated successfully, but these errors were encountered: