Add ol.renderer.vector.getSquaredTolerance and ol.SIMPLIFY_TOLERANCE

This commit is contained in:
Andreas Hocevar
2014-06-27 12:10:46 +02:00
parent 2171c92b5c
commit f67767aaf0
7 changed files with 45 additions and 21 deletions

View File

@@ -173,6 +173,12 @@ ol.MOUSEWHEELZOOM_TIMEOUT_DURATION = 80;
ol.ROTATE_ANIMATION_DURATION = 250;
/**
* @define {number} Tolerance for geometry simplification in device pixels.
*/
ol.SIMPLIFY_TOLERANCE = 0.5;
/**
* @define {number} Texture cache high water mark.
*/