added who() function to OpenLayers.Size
git-svn-id: http://svn.openlayers.org/trunk/openlayers@47 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -112,8 +112,12 @@ OpenLayers.Pixel.prototype = {
|
|||||||
*/
|
*/
|
||||||
addY:function(h) {
|
addY:function(h) {
|
||||||
return new OpenLayers.Pixel(this.x, this.y+h);
|
return new OpenLayers.Pixel(this.x, this.y+h);
|
||||||
}
|
},
|
||||||
|
|
||||||
|
////////////////////
|
||||||
|
who:function(){return "OpenLayers.Pixel";}
|
||||||
};
|
};
|
||||||
|
|
||||||
OpenLayers.Size = Class.create();
|
OpenLayers.Size = Class.create();
|
||||||
OpenLayers.Size.prototype = {
|
OpenLayers.Size.prototype = {
|
||||||
initialize: function(w,h) {
|
initialize: function(w,h) {
|
||||||
|
|||||||
Reference in New Issue
Block a user