JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div id="range">
<img src="http://www.hdwallpapers.in/walls/enchanted_forest-wide.jpg" id="map" />
</div>
</body>
CSS
#range {
width:400px;
height:400px;
overflow:hidden;
border:1px solid black;
}
#map{
width: 1920px;
height: 1200px;
}
JavaScript
jQuery(document).ready(function() {
jQuery("#map").draggable();
});