An extent is also known as a bounding box.
Copyright © 2009, Open Source Geospatial Foundation This program is dual licensed under the GNU General Public License and Simplified BSD license. http://svn.osgeo.org- /mapbender- /trunk- /mapbender- /license- /license.txt
Mapbender.Extent = function ( minx, miny, maxx, maxy )
minx | {Float} x-coordinate of south western point |
miny | {Float} y-coordinate of south western point |
maxx | {Float} x-coordinate of north eastern point |
maxy | {Float} y-coordinate of north eastern point |
sw | {Point} south western point |
ne | {Point} north eastern point |
Mapbender.Extent = function ( minx, miny, maxx, maxy )
Allows to set the center (one param) or the extent (two params)
this.set = function ( min, max )
Returns a comma-separated list of all four coordinates
Mapbender.Extent.prototype.toString = function ()