Please give a brief summary of your issue:
We are trying to add multiple scales to the scale overlay when instantiating webviewer or when opening a document, similar to the “add new scale” button here :
We know how to add preset scales, but this is not what we are looking for.
The setStyle method as seen in Measurement-tools | Apryse Documentation only allows one scale to be set.
We will add a feature request for this item to be reviewed by the product team. Please keep an eye out for the changelogs Changelog | Apryse Documentation
Hi @kkim
I’ve been trying to implement this as well and came across this support ticket. Do you have any indication of when this is likely to be added?
Thanks,
Chris
Please add more interest onto the request to allow us to add multiple scales with measurement manager’s createAndApplyScale method.
I’ve also found that when I make this call, the scale overlay doesn’t update immediately. The new scale only appears in the dropdown menu after a page refresh. Is this expected? Happy to receive a proper sample on how to use this createAndApplyScale method properly.
Thank you for your feedback. I have updated this feature request with your interest in adding multiple scales.
To use the createAndApplyScale, the applyTo portion will have the updated scales. In the example, the Ellipse tool will have the updated scale. This operation can be initialized during a documentLoaded event for example which triggers when a new document is loaded into the Viewer: