Class: ol.TileRange

ol.TileRange

new TileRange

A representation of a contiguous block of tiles. A tile range is specified by its min/max tile coordinates and is inclusive of coordinates.
Parameters:
Name Type Description
minX number Minimum X.
minY number Minimum Y.
maxX number Maximum X.
maxY number Maximum Y.
Source:
  • tilerange.js, line 20

Extends

Members

maxX :number

Source:
  • tilerange.js, line 35

maxY :number

Source:
  • tilerange.js, line 40

minX :number

Source:
  • tilerange.js, line 25

minY :number

Source:
  • tilerange.js, line 30

Methods

<static> boundingTileRange

Parameters:
Name Type Description
var_args ol.TileCoord Tile coordinates.
Source:
  • tilerange.js, line 50
Returns:
Bounding tile box.
Type
!ol.TileRange

contains

Parameters:
Name Type Description
tileCoord ol.TileCoord Tile coordinate.
Source:
  • tilerange.js, line 71
Returns:
Contains tile coordinate.
Type
boolean

containsTileRange

Parameters:
Name Type Description
tileRange ol.TileRange Tile range.
Source:
  • tilerange.js, line 81
Returns:
Contains.
Type
boolean

equals

Parameters:
Name Type Description
rectangle ol.Rectangle Rectangle.
Inherited From:
Source:
  • rectangle.js, line 48
Returns:
Equals.
Type
boolean

extend

Parameters:
Name Type Description
rectangle ol.Rectangle Rectangle.
Inherited From:
Source:
  • rectangle.js, line 57

getCenter

Inherited From:
Source:
  • rectangle.js, line 68
Returns:
Center.
Type
ol.Coordinate

getHeight

Source:
  • tilerange.js, line 91
Returns:
Height.
Type
number

getSize

Inherited From:
Source:
  • rectangle.js, line 85
Returns:
Size.
Type
ol.Size

getWidth

Source:
  • tilerange.js, line 100
Returns:
Width.
Type
number

intersects

Parameters:
Name Type Description
rectangle ol.Rectangle Rectangle.
Inherited From:
Source:
  • rectangle.js, line 102
Returns:
Intersects.
Type
boolean

normalize

Parameters:
Name Type Description
coordinate ol.Coordinate Coordinate.
Inherited From:
Source:
  • rectangle.js, line 114
Returns:
Coordinate.
Type
ol.Coordinate

scaleFromCenter

Parameters:
Name Type Description
value number Value.
Inherited From:
Source:
  • rectangle.js, line 132

toString

Inherited From:
Source:
  • rectangle.js, line 124
Returns:
String.
Type
string