Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description codestring The SRS identifier code, e.g.
EPSG:4326.unitsUnits | undefined Units. Required unless a proj4 projection is defined for
code.extentExtent | undefined The validity extent for the SRS.
axisOrientationstring
(defaults to 'enu')The axis orientation as specified in Proj4.
globalboolean
(defaults to false)Whether the projection is valid for the whole globe.
metersPerUnitnumber | undefined The meters per unit for the SRS. If not provided, the
unitsare used to get the meters per unit from theMETERS_PER_UNITlookup table.worldExtentExtent | undefined The world extent for the SRS.
getPointResolutionfunction | undefined Function to determine resolution at a point. The function is called with a
numberview resolution and aCoordinateas arguments, and returns thenumberresolution in projection units at the passed coordinate. If this isundefined, the defaultgetPointResolutionfunction will be used.