new Projection
Parameters:
Name | Type | Description |
---|---|---|
options |
ol.ProjectionOptions | Projection options. |
- Source:
- proj.js, line 59
Members
-
getPointResolution
-
Get the resolution of the point in degrees. For projections with degrees as the unit this will simply return the provided resolution. For other projections the point resolution is estimated by transforming the center pixel to EPSG:4326, measuring its width and height on the normal sphere, and taking the average of the width and height.
- Source:
- proj.js, line 129
Methods
-
getAxisOrientation
-
Get the axis orientation of this projection. Example values are: enu - the default easting, northing, elevation. neu - northing, easting, up - useful for "lat/long" geographic coordinates, or south orientated transverse mercator. wnu - westing, northing, up - some planetary coordinate systems have "west positive" coordinate systems
- Source:
- proj.js, line 161
Returns:
Axis orientation.
- Type
- string
-
getCode
-
Get the code for this projection, e.g. 'EPSG:4326'.
- Source:
- proj.js, line 105
Returns:
Code.
- Type
- string
-
getExtent
-
Get the validity extent for this projection.
- Source:
- proj.js, line 114
Returns:
Extent.
- Type
- ol.Extent
-
getMetersPerUnit
-
Get the amount of meters per unit of this projection. If the projection is not configured with a units identifier, the return is
undefined
.- Source:
- proj.js, line 146
Returns:
Meters.
- Type
- number | undefined
-
getUnits
-
Get the units of this projection.
- Source:
- proj.js, line 136
Returns:
Units.
- Type
- ol.ProjectionUnits
-
isGlobal
-
Is this projection a global projection which spans the whole world?
- Source:
- proj.js, line 170
Returns:
Wether the projection is global.
- Type
- boolean