Move simplify tolerance to the vector renderer
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user