coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@651 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -50,10 +50,14 @@ OpenLayers.Control.PanZoom.prototype =
|
||||
px.y = centered.y+sz.h;
|
||||
this._addButton("panleft", "west-mini.png", px, sz);
|
||||
this._addButton("panright", "east-mini.png", px.add(sz.w, 0), sz);
|
||||
this._addButton("pandown", "south-mini.png", centered.add(0, sz.h*2), sz);
|
||||
this._addButton("zoomin", "zoom-plus-mini.png", centered.add(0, sz.h*3+5), sz);
|
||||
this._addButton("zoomworld", "zoom-world-mini.png", centered.add(0, sz.h*4+5), sz);
|
||||
this._addButton("zoomout", "zoom-minus-mini.png", centered.add(0, sz.h*5+5), sz);
|
||||
this._addButton("pandown", "south-mini.png",
|
||||
centered.add(0, sz.h*2), sz);
|
||||
this._addButton("zoomin", "zoom-plus-mini.png",
|
||||
centered.add(0, sz.h*3+5), sz);
|
||||
this._addButton("zoomworld", "zoom-world-mini.png",
|
||||
centered.add(0, sz.h*4+5), sz);
|
||||
this._addButton("zoomout", "zoom-minus-mini.png",
|
||||
centered.add(0, sz.h*5+5), sz);
|
||||
return this.div;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user