From 770407f1bab6c88016c688e53ce95b47c919d83a Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 27 Jun 2018 09:11:01 +0200 Subject: [PATCH 1/2] Remove reference to setProj4 function in documentation The function was removed in #7598 --- src/ol/proj/Projection.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/proj/Projection.js b/src/ol/proj/Projection.js index e5cef6182d..7daaa0c08d 100644 --- a/src/ol/proj/Projection.js +++ b/src/ol/proj/Projection.js @@ -45,9 +45,9 @@ import {METERS_PER_UNIT} from '../proj/Units.js'; * urn:ogc:def:crs:EPSG:6.18:3:3857, * http://www.opengis.net/gml/srs/epsg.xml#3857 * - * If you use proj4js, aliases can be added using `proj4.defs()`; see - * [documentation](https://github.com/proj4js/proj4js). To set an alternative - * namespace for proj4, use {@link module:ol/proj~setProj4}. + * If you use [proj4js](https://github.com/proj4js/proj4js), aliases can + * be added using `proj4.defs()`, after all required projection definitions are + * added, call the {@link module:ol/proj/proj4~register} function. * * @constructor * @param {module:ol/proj/Projection~Options} options Projection options. From 7dcc720029699cf7a24da9cfe0e687991a04b864 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Wed, 27 Jun 2018 11:15:49 +0200 Subject: [PATCH 2/2] Improve readability --- src/ol/proj/Projection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/proj/Projection.js b/src/ol/proj/Projection.js index 7daaa0c08d..72621fb66d 100644 --- a/src/ol/proj/Projection.js +++ b/src/ol/proj/Projection.js @@ -46,7 +46,7 @@ import {METERS_PER_UNIT} from '../proj/Units.js'; * http://www.opengis.net/gml/srs/epsg.xml#3857 * * If you use [proj4js](https://github.com/proj4js/proj4js), aliases can - * be added using `proj4.defs()`, after all required projection definitions are + * be added using `proj4.defs()`. After all required projection definitions are * added, call the {@link module:ol/proj/proj4~register} function. * * @constructor