unfolding
unfolding copied to clipboard
prevent panning off edge of map.
When displaying a map without panning restrictions, mouse dragging the map too far results in the map being taken off screen, replaced with a garbled and blurred version of the map. Setting panning restrictions solves this problem at minimum zoom level, but interferes with proper panning at higher zoom.