That looks about right. Although there is a bound to layout behavior that seems more suitable for what you described.
I'm not certain about the effects of the layout scale, but that should be easy to compensate for either way, as there is a layoutscale expression you can use as a multiplier if necessary.
Thanks! I’ll try to post a capx up here. There seems to be quite a few people asking about pinch to zoom combined with smooth (inertia) panning / touch drag, while still being able to keep the image within the viewport / layout.
I’m basically trying to create a fullscreen map with touch panning, pinch to zoom, and hopefully rotation, while still keeping it within viewport or layout bounds, and have hotspots that when clicked on have a scrollTo behavior. I’ll see what I can come up with.