Instances of this class represent a width/height pair in map units
| OpenSpace. | Instances of this class represent a width/height pair in map units |
| Properties | |
| srs | {Number} The spatial reference system |
| Constructor | |
| OpenSpace. | Create an instance of OpenSpace.MapSize |
| Functions | |
| toString | Return the string representation of a map size object |
| clone | Create a clone of this size object |
| equals | Determine if this map size is equal to another map size |
clone:function()
Create a clone of this size object
{OpenSpace.MapSize} A new OpenSpace.MapSize object with the same w and h values
equals:function( sz )
Determine if this map size is equal to another map size
| sz | {OpenSpace.MapSize} |
{Boolean} The passed in size has the same h and w properties as this one. Note that if sz passed in is null, returns false.
Return the string representation of a map size object
toString:function()
Create a clone of this size object
clone:function()
Determine if this map size is equal to another map size
equals:function( sz )