we have a Webapp, which is mainly used with iPads. The WebViewer works well, but we have one thing, that could be better.
Our users are all using the Apple Pencil. Often it happens, that the WebViewer detects the ball of the Hand as first touch. Then when the User begins to write with the Apple Pencil, a line is drawn from the ball of the Hand to the first Point where the Apple Pencil touches the Display.
I wonder if there is an option to improve this behavior. iOS has an option to disable “normal” touches when the Pencil is used. I know something like this is hard to achieve if not impossible to do, as this is an iOS-Feature and we are in the Web. But maybe there is an Option to minimize the “touch offset”, so there are less “false positives”.
Any suggestions on this? Maybe there is already such an option and i haven’t found it until now.
thank you for your answer. Yes, palm rejection was what i was looking for. It seems that radiusX and radiusY is supported since iOS 14.5 which would be ok for us.
I’ll give it a try and if it isn’t working i’m using your solution to try filtering out points.
i made it to work with radiusX and radiusY. This API is since iOS 14.5 supported on mobile Safari and works good so far. There’s one thing, that i woudl like to do and don’t know if there’s a way to do that.
When i’m in the FreeHandCreateTool i can now only draw with the Pencil. With the two-finger-gesture i can zoom in and out. It would be great, if i could also pan with one finger.
What i mean:
radiusX smaller than a certain value: Draw lines as expected
radiusX bigger than a certain value: Pan
thanks for pointing that out! This is exactly what i was looking for. Is this working in WebViewer Version 7? I only find “setEnableStylusMode()”, which says “Returns whether stylus annotating mode is enabled.”, but I’m not finding anything that says, “Enables the Stylus mode”.
Anyways, we ware planning to upgrade to WebViewer Version 8 in the next time and for now i built a workaround (which is a little bit ugly but is working for us for now).