Minor documentation improvements

This commit is contained in:
Petr Sloup
2015-10-16 16:14:41 +02:00
parent b816128728
commit 6f9fa4c12e
2 changed files with 3 additions and 4 deletions

View File

@@ -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;

View File

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