(info) Other great resources: Official JS API docs, Scripting Forum

setScrollParams()

setScrollParams(x1, y1, x2, y2)

Limit the scrollable area of the map to the given rectangle.