Classes
Type Definitions
-
Properties:
Name Type Argument Default Description codestring The SRS identifier code, e.g.
EPSG:4326.unitsmodule:ol/proj/Units | string <optional>
Units. Required unless a proj4 projection is defined for
code.extentmodule:ol/extent~Extent <optional>
The validity extent for the SRS.
axisOrientationstring <optional>
'enu' The axis orientation as specified in Proj4.
globalboolean <optional>
false Whether the projection is valid for the whole globe.
metersPerUnitnumber <optional>
The meters per unit for the SRS. If not provided, the
unitsare used to get the meters per unit from themodule:ol/proj/Units~METERS_PER_UNITlookup table.worldExtentmodule:ol/extent~Extent <optional>
The world extent for the SRS.
getPointResolutionfunction <optional>
Function to determine resolution at a point. The function is called with a
{number}view resolution and an{module:ol/coordinate~Coordinate}as arguments, and returns the{number}resolution at the passed coordinate. If this isundefined, the defaultmodule:ol/proj#getPointResolutionfunction will be used.