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

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -