See this for an updated version:
It’s somewhat similar to google maps, the mouse up / down are pretty standard:
Dragging the image in the canvas:
Clamping the edges:
And we can’t drag the map when the cursor goes beyond the widget:
See this for an updated version:
It’s somewhat similar to google maps, the mouse up / down are pretty standard:
Dragging the image in the canvas:
Clamping the edges:
And we can’t drag the map when the cursor goes beyond the widget: