From cd840aaf88789f6a9a97ab44397eded53a6d4273 Mon Sep 17 00:00:00 2001 From: EvertEt Date: Tue, 11 Jan 2022 11:03:04 +0100 Subject: [PATCH] Fix some typos in ModifyInteraction documentation --- src/ol/interaction/Modify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/interaction/Modify.js b/src/ol/interaction/Modify.js index ddac0cbbc5..e524d58ead 100644 --- a/src/ol/interaction/Modify.js +++ b/src/ol/interaction/Modify.js @@ -185,7 +185,7 @@ export class ModifyEvent extends Event { * * Cartesian distance from the pointer is used to determine the features that * will be modified. This means that geometries will only be considered for - * modification when they are within the configured `pixelTolerane`. For point + * modification when they are within the configured `pixelTolerance`. For point * geometries, the `hitDetection` option can be used to match their visual * appearance. * @@ -480,7 +480,7 @@ class Modify extends PointerInteraction { */ removeFeature_(feature) { this.removeFeatureSegmentData_(feature); - // Remove the vertex feature if the collection of canditate features is empty. + // Remove the vertex feature if the collection of candidate features is empty. if (this.vertexFeature_ && this.features_.getLength() === 0) { this.overlay_.getSource().removeFeature(this.vertexFeature_); this.vertexFeature_ = null;