.. _api-zoo-projection: ZOO.Projection ============== Class for coordinate transforms between coordinate systems. Properties ---------- .. list-table:: :widths: 30 50 :header-rows: 1 * - NAME - DESCRIPTION * - :ref:`proj ` - {Number} Proj4js.Proj instance. * - :ref:`projCode ` - {String} Functions --------- .. list-table:: :widths: 12 50 :header-rows: 1 * - NAME - DESCRIPTION * - :ref:`ZOO.Projection ` - This class offers several methods for interacting with a wrapped zoo-pro4js projection object. * - :ref:`getCode ` - Get the string SRS code. * - :ref:`getUnits ` - Get the units string for the projection -- returns null if zoo-proj4js is not available. * - :ref:`toString ` - Convert projection to string (getCode wrapper). * - :ref:`equals ` - Test equality of two projection instances. * - :ref:`destroy ` - Destroy projection object. * - :ref:`transform ` - Transform a point coordinate from one projection to another. **Properties** .. _proj: proj {Object} Proj4js.Proj instance. .. _projCode: projCode {String} **Functions** .. _ZOO.Projection: ZOO.Projection This class offers several methods for interacting with a wrapped zoo-pro4js projection object. .. _getCode: getCode Get the string SRS code. .. _getUnits: getUnits Get the units string for the projection -- returns null if zoo-proj4js is not available. .. _toString: toString Convert projection to string (getCode wrapper). .. _equals: equals Test equality of two projection instances. .. _destroy: destroy Destroy projection object. .. _transform: transform Transform a point coordinate from one projection to another.