setZoom
setZoom() Function
• Introduced in version 1.4
Sets the zoom level of the viewport.
Usage
setZoom(z)
Parameters
z
- The zoom level of the viewport (the current zoom level can be seen at the bottom of the maptool screen. You can also use getZoom()
Example
Set the zoom level to default (= 0)
[h: setZoom(0)]