ol.proj. ol.proj.Projection

new Projection

Stability: experimental
Parameters:
Name Type Description
options olx.ProjectionOptions

Projection options.

Source:
  • proj.js, line 68

Methods

getCode

Stability: not documented

Get the code for this projection, e.g. 'EPSG:4326'.

Source:
  • proj.js, line 114
Returns:

Code.

Type
string

getExtent

Stability: not documented

Get the validity extent for this projection.

Source:
  • proj.js, line 123
Returns:

Extent.

Type
ol.Extent

getUnits

Stability: not documented

Get the units of this projection.

Source:
  • proj.js, line 145
Returns:

Units.

Type
ol.proj.Units