OpenLayers JavaScript Mapping Library |
OpenLayers. ClassContains functions to create OpenLayers style classes. Summary
OpenLayers. BoundsInstances of this class represent bounding boxes. Data stored as left, bottom, right, top floats Summary
OpenLayers. BoundsConstruct a new bounds object. Parameters
Return{OpenLayers.Bounds} A new bounds instance. clone
Create a cloned instance of this bounds. Return{OpenLayers.Bounds} A fresh copy of the bounds equals
Test a two bounds for equivalence Parameters
Return{Boolean} The passed-in OpenLayers.Bounds object has the same left, right, top, bottom components as this. Note that if bounds passed in is null, returns false. oppositeQuadrant
Get the opposite quadrant for a given quadrant string. Parameters
Return{String} The opposing quadrant (“br” “tr” “tl” “bl”). For Example, if you pass in “bl” it returns “tr”, if you pass in “br” it returns “tl”, etc. |
Create an OpenLayers style class
create: function()
Inherit from one or more OpenLayers style classes
inherit: function ()
Cast this object into a string
toString:function()
Return a clone of this pixel object
clone:function()
Determine whether one pixel is equivalent to another
equals:function( px )
Return the string representation of a size object
toString:function()
Create a clone of this size object
clone:function()
Return a readable string version of the lonlat
toString:function()
Create a cloned instance of this bounds.
clone:function()
Test a two bounds for equivalence
equals:function( bounds )
Get the opposite quadrant for a given quadrant string.
OpenLayers.Bounds.oppositeQuadrant = function( quadrant )