new cercalia.Bounds(opt_arrCoord)
| Name | Type | Description | 
|---|---|---|
| arrCoord | Coordinates  | 
Extends
Methods
- 
    
    Move the limits horizontally and vertically Name Type Description xnumber Displacement X axis ynumber Displacement Y axis Returns:Bounds after add
 
- 
    clear()src/cercalia/bounds.js, line 64
- 
    
    Cleans the object bounds. It reinitializes. 
- 
    
    Object clonation. Returns:Object clone.
 
- 
    
    
    
    
    
        
Name Type Description percentagenumber to increase for every limit (top, bottom, left, right) Returns:Returns the object 'cercalia.Bounds' increased
 
- 
    contains(x, y, opt_inclusive){boolean}src/cercalia/bounds.js, line 383
- 
    
    Returns if it's inside the object bounds del objeto Name Type Description xnumber | undefined Latitude. ynumber | undefined Longitude. inclusiveboolean Inclusive, with the bounds. Returns:Returns if it's inside the object bounds.
 
- 
    containsBounds(bounds, partial, inclusive){boolean}src/cercalia/bounds.js, line 492
- 
    
    
    
    
    
        
Name Type Description boundscercalia.Bounds Bounds. partialboolean If one destination corner is inside the bounds consider contains the bounds. The default value is false. If false, all the destination bounds must be inside this bounds. inclusiveboolean Include edges. Default value: true Returns:Returns if contains bounds inside object
 
- 
    containsLonLat(lonLat){boolean}src/cercalia/bounds.js, line 369
- 
    
    Returns true if a coordinate (cercalia.LonLat object) is inside the bounds Name Type Description lonLatcercalia.LonLat Coordinate. Returns:trueorfalse.
 
- 
    equals(bounds){boolean}src/cercalia/bounds.js, line 222
- 
    
    
    
    
    
        
Name Type Description boundscercalia.Bounds Bounds to compare Returns:Returns if bounds have the same limits
 
- 
    extend(boundsOrLonLat)src/cercalia/bounds.js, line 316
- 
    
    Expand the limits for including coordinates {ol.Coordinate} or more limits {cercalia.Bounds}. Name Type Description boundsOrLonLatcercalia.LonLat | cercalia.Bounds | null cercalia.Boundsorcercalia.LonLatto extend current bounds
- 
    extendXY(x, y)src/cercalia/bounds.js, line 345
- 
    
    Expand the limits for including the coordinate XY {ol.Coordinate} Name Type Description xnumber Longitud ynumber Latitud 
- 
    getBottom(){number|undefined}src/cercalia/bounds.js, line 103
- 
    
    Returns the lower limit for Y axis. Returns:bottom
 
- 
    
    Returns the bounds center Returns:Map center
 
- 
    
    
    
    
    
    
    
Returns:Get Class name of object
 
- 
    
    Returns an object increasing (x0.5) all the limits (top, bottom, left, right) Returns:bounds
 
- 
    getHeight(){number}src/cercalia/bounds.js, line 275
- 
    
    Height - limits. Returns:Height bounds
 
- 
    getHeightInMeters(){number|undefined}src/cercalia/bounds.js, line 578
- 
    
    
    
    
    
    
    
Returns:Bounds height distance in meters.
 
- 
    
    
    
    
    
    
    
Returns:Unique Id.
 
- 
    getLeft(){number|undefined}src/cercalia/bounds.js, line 112
- 
    
    Returns the left limit for X axis. Returns:left
 
- 
    
    Returns the NorthEast coordinate Returns:array NorthEast coordinate
 
- 
    
    Returns the NorthWest coordinate Returns:Northwest coordinate
 
- 
    getRight(){number|undefined}src/cercalia/bounds.js, line 94
- 
    
    Returns the right limit for X axis. Returns:right
 
- 
    getSize(){}src/cercalia/bounds.js, line 284
- 
    
    Array with size limits [width,height]Returns:Size bounds[width, height]
 
- 
    
    Returns the SouthEast coordinate Returns:SouthEast coordinate
 
- 
    
    Returns the Southwest coordinate Returns:Southwest coordinate
 
- 
    getTop(){number|undefined}src/cercalia/bounds.js, line 85
- 
    
    Returns the top limit for Y axis. Returns:top
 
- 
    getWidth(){number}src/cercalia/bounds.js, line 266
- 
    
    Width - limits. Returns:Bounds width
 
- 
    getWidthInMeters(){number|undefined}src/cercalia/bounds.js, line 566
- 
    
    
    
    
    
    
    
Returns:Bounds width distance in meters.
 
- 
    intersectsBounds(bounds, options){boolean}src/cercalia/bounds.js, line 416
- 
    
    Determina si unos limites intersecta con los limites del objeto actual. Se considera que intersectan si uno de sus aristas se encuentran dentro de los limites del otro Name Type Description boundscercalia.Bounds Bounds optionsObject Options Returns:trueif bounds intersects.
 
- 
    isEmpty(){boolean}src/cercalia/bounds.js, line 76
- 
    
    
    
    
    
    
    
Returns:Returns if bounds are empty. (Have not been initialized)
 
- 
    toArray(){}src/cercalia/bounds.js, line 249
- 
    
    
    
    
    
    
    
Returns:Returns an array with the bounds. Format: [left, bottom, right, top]
 
- 
    toBBOX(){string}src/cercalia/bounds.js, line 257
- 
    
    
    
    
    
    
    
Returns:Returns BoundingBox-String '0.41,41.24,0.541,40.51'
 
- 
    toString(){string}src/cercalia/bounds.js, line 241
- 
    
    Returns the object in string [left, bottom, right, top] Returns:Returns a string with the bounds. Format: 'left,bottom,right,top'
 
- 
    
    Transform bounds to ol.ExtentName Type Description projectionCodestring Projection code to transform. Returns:Extention reprojected.
 
- 
    
    
    
    
    
        
Name Type Description maxExtentcercalia.Bounds Max extent optionscercalia.Bounds.wrapDateLineOptions Optional value. options.leftTolerance|options.rightToleranceReturns:Bounds
 
