diff --git a/examples/tracing.html b/examples/tracing.html index 2054b6eac6..173da86da5 100644 --- a/examples/tracing.html +++ b/examples/tracing.html @@ -6,7 +6,7 @@ docs: > The draw interaction has a trace option to enable tracing around existing features. This example uses the traceSource option to trace features from one source and add them to another source. The first click - on an edge of the Idaho feature will start tracing. The second click on the edge + on an edge of the target feature will start tracing. The second click on the edge will stop tracing. tags: "draw, trace, vector, snap, topology" --- diff --git a/src/ol/interaction/Draw.js b/src/ol/interaction/Draw.js index 5b7bc08948..92dce15cb5 100644 --- a/src/ol/interaction/Draw.js +++ b/src/ol/interaction/Draw.js @@ -70,7 +70,7 @@ import {getStrideForLayout} from '../geom/SimpleGeometry.js'; * that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a * boolean to indicate whether the drawing can be finished. Not used when drawing * POINT or MULTI_POINT geometries. - * @property {import("../style/Style.js").StyleLike} [style] + * @property {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike} [style] * Style for sketch features. * @property {GeometryFunction} [geometryFunction] * Function that is called when a geometry's coordinates are updated. diff --git a/src/ol/interaction/Modify.js b/src/ol/interaction/Modify.js index 21ff0fe6bf..b849190217 100644 --- a/src/ol/interaction/Modify.js +++ b/src/ol/interaction/Modify.js @@ -106,7 +106,7 @@ const ModifyEventType = { * features. Default is {@link module:ol/events/condition.always}. * @property {number} [pixelTolerance=10] Pixel tolerance for considering the * pointer close enough to a segment or vertex for editing. - * @property {import("../style/Style.js").StyleLike} [style] + * @property {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike} [style] * Style used for the modification point or vertex. For linestrings and polygons, this will * be the affected vertex, for circles a point along the circle, and for points the actual * point. If not configured, the default edit style is used (see {@link module:ol/style/Style~Style}).