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 */