Class: ol.Projection

ol.Projection

new Projection

Parameters:
Name Type Description
options ol.ProjectionOptions Options object.
Source:
  • projection.js, line 58

Members

getPointResolution

Source:
  • projection.js, line 122

Methods

getAxisOrientation

Source:
  • projection.js, line 144
Returns:
Axis orientation.
Type
string

getCode

Source:
  • projection.js, line 104
Returns:
Code.
Type
string

getDefaultTileGrid

Source:
  • projection.js, line 160
Returns:
The default tile grid.
Type
ol.tilegrid.TileGrid

getExtent

Source:
  • projection.js, line 112
Returns:
Extent.
Type
ol.Extent

getMetersPerUnit

Source:
  • projection.js, line 136
Returns:
Meters.
Type
number

getUnits

Source:
  • projection.js, line 128
Returns:
Units.
Type
ol.ProjectionUnits

isGlobal

Source:
  • projection.js, line 152
Returns:
Wether the projection is global.
Type
boolean

setDefaultTileGrid

Parameters:
Name Type Description
tileGrid ol.tilegrid.TileGrid The default tile grid.
Source:
  • projection.js, line 168