Class: ol.Projection

ol.Projection

new Projection

Parameters:
Name Type Argument Description
code string Code.
units ol.ProjectionUnits Units.
extent ol.Extent Extent.
axisOrientation string= <optional>
(Optional) Axis orientation.
Source:
  • projection.js, line 54

Members

getPointResolution

Source:
  • projection.js, line 111

Methods

getAxisOrientation

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

getCode

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

getDefaultTileGrid

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

getExtent

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

getMetersPerUnit

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

getUnits

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

setDefaultTileGrid

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