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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user