Closed sdwilkes closed 8 years ago
Now fixed. Used the following solution:
TweenLite.to("#wrapper", 0.5 , { scale:.5, onUpdate:function() { Draggable.get("#wrapper").applyBounds(); } });
This updates the position of the town to the window boundary on zoom.
In: /feature/07062016_town_update_and_new_markers
Opted to use jQuery animate zoom over GSAP, but the same issue affects both. The zoom reveals the edges of the town i.e. leaves it floating in an empty space when zoomed from the corner coordinates.
ideally zoom should lock to edges of the town.