javascript - OpenLayers: Set canvas rotation point -
the default rotation point of ol.interaction.dragrotateandzoom
@ center of canvas. see https://openlayers.org/en/latest/examples/full-screen-drag-rotate-and-zoom.html example shift+drag rotate.
is possible control rotation point of canvas? need rotation point located more towards bottom. have managed 'hack' rendering canvas bigger parent element , positioning through css. waste both regarding excessive loading of tiles , regarding rendering performance on android devices.
thanks, johan
Comments
Post a Comment