Zach, im applying this:
var mapdrag = document.getElementById("map");
tween = gsap.to("#map img", {
y: "+=10",
duration: 1,
repeat: 0,
repeatRefresh: true,
modifiers: {
y: gsap.utils.unitize( gsap.utils.wrap(0, (mapdrag.height)), "px")
}
});
But it dissapear the map
also i tried : .startDrag() but it get stuck.
The maps is just an image, thats why i check the height.
without being able to achieve it
Another clue?