From 6f9fa4c12ebe6ceae5d809e46ba85d347a5163d5 Mon Sep 17 00:00:00 2001 From: Petr Sloup Date: Fri, 16 Oct 2015 16:14:41 +0200 Subject: [PATCH] Minor documentation improvements --- src/ol/ol.js | 3 ++- src/ol/reproj/triangulation.js | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ol/ol.js b/src/ol/ol.js index 9a14b339eb..23c754f49a 100644 --- a/src/ol/ol.js +++ b/src/ol/ol.js @@ -190,7 +190,8 @@ ol.RASTER_REPROJECTION_MAX_SOURCE_TILES = 100; * @define {number} Maximum number of subdivision steps during raster * reprojection triangulation. Prevents high memory usage and large * number of proj4 calls (for certain transformations and areas). - * At most `2*(2^this)` triangles are created. Default is `10`. + * At most `2*(2^this)` triangles are created for each triangulated + * extent (tile/image). Default is `10`. */ ol.RASTER_REPROJECTION_MAX_SUBDIVISION = 10; diff --git a/src/ol/reproj/triangulation.js b/src/ol/reproj/triangulation.js index bc4cbe1571..571c676c6a 100644 --- a/src/ol/reproj/triangulation.js +++ b/src/ol/reproj/triangulation.js @@ -79,9 +79,7 @@ ol.reproj.Triangulation = function(sourceProj, targetProj, targetExtent, this.triangles_ = []; /** - * Indicates that source coordinates have to be shifted during reprojection. - * This is needed when the triangulation crosses - * edge of the source projection (dateline). + * Indicates that the triangulation crosses edge of the source projection. * @type {boolean} * @private */