Dynamically chose the number of subdivisions based on the size of the Image.
This commit is contained in:
@@ -160,7 +160,7 @@ class ReprojTile extends Tile {
|
||||
*/
|
||||
this.triangulation_ = new Triangulation(
|
||||
sourceProj, targetProj, limitedTargetExtent, maxSourceExtent,
|
||||
sourceResolution * errorThresholdInPixels);
|
||||
sourceResolution * errorThresholdInPixels, targetResolution);
|
||||
|
||||
if (this.triangulation_.getTriangles().length === 0) {
|
||||
// no valid triangles -> EMPTY
|
||||
|
||||
Reference in New Issue
Block a user