Hi all, I'm developing a tool to rotate a static image layer and I'm currently facing an issue on mobile.
Static image must rotate around a specific point. I use precompose and postcompose hooks in order to alter canvas and make the rotation. It works great on desktop but i don't understand what is going on on mobile (Android Chrome or FF). jsFiddle : https://jsfiddle.net/wuty2m9v/7/ On desktop, image rotate correctly around the point. Drag the map : point and image follow the map. On mobile, image doesn't rotate correctly around the point. Rotation is made on the canvas origin, canvas translations don't look good. Drag the map to watch the chaos :) Thank you guys. -- You received this message because you are subscribed to the Google Groups "OL3 Dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/ol3-dev. To view this discussion on the web visit https://groups.google.com/d/msgid/ol3-dev/cb03525f-ec26-44be-899b-89461f7f90a0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
