The Zoom control is a pair of +/- links for zooming in and out.
| OpenLayers. | The Zoom control is a pair of +/- links for zooming in and out. |
| Properties | |
| zoomInText | {String} Text for zoom-in link. |
| zoomInId | {String} Instead of having the control create a zoom in link, you can provide the identifier for an anchor element already added to the document. |
| zoomOutText | {String} Text for zoom-out link. |
| zoomOutId | {String} Instead of having the control create a zoom out link, you can provide the identifier for an anchor element already added to the document. |
| Functions | |
| draw | {DOMElement} A reference to the DOMElement containing the zoom links. |
| getOrCreateLinks | |
| onZoomClick | Called when zoomin/out link is clicked. |
| destroy | Clean up. |
{DOMElement} A reference to the DOMElement containing the zoom links.
draw: function()
getOrCreateLinks: function( el )
Called when zoomin/out link is clicked.
onZoomClick: function( evt )
Clean up.
destroy: function()