Move simplify tolerance to the vector renderer

This commit is contained in:
Tim Schaub
2017-12-12 16:36:59 -07:00
parent 60f6736360
commit b8ab1ff852
2 changed files with 7 additions and 9 deletions

View File

@@ -1,13 +1,19 @@
/**
* @module ol/renderer/vector
*/
import {SIMPLIFY_TOLERANCE, getUid} from '../index.js';
import {getUid} from '../index.js';
import _ol_ImageState_ from '../ImageState.js';
import _ol_geom_GeometryType_ from '../geom/GeometryType.js';
import _ol_render_ReplayType_ from '../render/ReplayType.js';
var _ol_renderer_vector_ = {};
/**
* @type {number} Tolerance for geometry simplification in device pixels.
*/
var SIMPLIFY_TOLERANCE = 0.5;
/**
* @param {ol.Feature|ol.render.Feature} feature1 Feature 1.
* @param {ol.Feature|ol.render.Feature} feature2 Feature 2.