My issue on StackOverflow : http://stackoverflow.com/questions/39742809/openlayers-3-issue-with-layer-rotation-via-compose-hooks
Le mercredi 28 septembre 2016 10:48:49 UTC+2, TeChn4K a écrit : > > 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/7779734e-9521-426f-972b-8268edab507c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
