Update OpenLayers.Map.{min,max}Px apidoc

OpenLayers.Pixel to simple javascript object.
This commit is contained in:
Frederic Junod
2012-01-15 18:22:22 +01:00
parent 4e703abc0c
commit 511784d530

View File

@@ -398,7 +398,8 @@ OpenLayers.Map = OpenLayers.Class({
/**
* Property: minPx
* {<OpenLayers.Pixel>} Lower left of maxExtent in viewport pixel space.
* {Object} An object with a 'x' and 'y' values that is the lower
* left of maxExtent in viewport pixel space.
* Used to verify in moveByPx that the new location we're moving to
* is valid. It is also used in the getLonLatFromViewPortPx function
* of Layer.
@@ -407,7 +408,8 @@ OpenLayers.Map = OpenLayers.Class({
/**
* Property: maxPx
* {<OpenLayers.Pixel>} Top right of maxExtent in viewport pixel space.
* {Object} An object with a 'x' and 'y' values that is the top
* right of maxExtent in viewport pixel space.
* Used to verify in moveByPx that the new location we're moving to
* is valid.
*/