Hello community
I use the PaperWidget with mappScript.
To enlarge specific areas at events I use “scale” and “translate” so that the widget “jumps to the correct positions”.
It works fine in ARSim on PC. When I run the software on an APC3100, additional elements (navigation buttons, map, etc.) are displayed, but the actual transformation does not take place (Paper Widget continues to display the full SVG as loaded at startup).
I dont know what the issue is, what are you using as a display when running it on APC3100?
You can however monitor the behavior in your diagnostics page if you have it enabled and see what is happening with the transformation and compare it from PC to APC
Hopefully there is some error there that gives us a hint what is wrong
Also check the logger if something is popping up there
ArSim is more forgiving, it accepts transform commands even when the SVG structure or IDs are not perfect.
The APC3100 runtime, however, validates the transform instructions more strictly. If anything is off, the PaperWidget simply keeps the original full SVG.
It might be the case that the transform targets are not being recognized on the APC3100 because the SVG elements do not have IDs or the transform lacks a select field.
Do you want to share your script where you translate and I can have a look?
Both are set to 100. Because it’s not allowed to use zoom “manual” (UX → 100% mode to see everything or specific zoom [which is made by “scale” and “translate”] where elements have a specific size).
I found these properties in “Image” but they are not available in “Drawing”.
Both are set to 100. Because it’s not allowed to use zoom “manual” (UX → 100% mode to see everything or specific zoom [which is made by “scale” and “translate”] where elements have a specific size).
I found these properties in “Image” but they are not available in “Drawing”.