Add some jsdoc commenting into PanZoomBar (part of testing svk)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@420 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-05-27 10:29:42 +00:00
parent 28471e2047
commit 8dd38fe945

View File

@@ -103,6 +103,10 @@ OpenLayers.Control.PanZoomBar.prototype =
centered = centered.add(0, zoomStopSize*(this.map.getZoomLevels()+1));
return centered;
},
/*
* divClick: Picks up on clicks directly on the zoombar div
* and sets the zoom level appropriately.
*/
divClick: function (evt) {
var y = evt.xy.y;
var top = Position.page(evt.object)[1];