<div id="container">
		<div class="box"></div>		
</div>
body, html {
  height: 100%;
  width: 100%;
}

body {
  background-color:black;
}

#container {
  background-color: #333;
  height:100%; 
  width: 100%;
  overflow:hidden; 
  position:relative;
}

.box {
  background-image: url(https://www.shiftfestival.cc/mapa-completo.png);
  background-size: 100%;
  background-position: center;
	width: 3333px;
	height: 2182px;
	position: absolute;
}
/*
See https://www.greensock.com/draggable/ for details. 
This demo uses ThrowPropsPlugin which is a membership benefit of Club GreenSock, https://www.greensock.com/club/
*/

var $container = $("#container");

function update() {
	Draggable.create(".box", {
		bounds:$container,
		edgeResistance:0.65,
		type:"x,y",
		throwProps:true,
    autoScroll:true,
	});
}

update();

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js
  2. https://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/utils/Draggable.min.js
  3. https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.5/TweenLite.min.js
  4. https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.5/plugins/CSSPlugin.min.js