terra-draw 1.24.1 → 1.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terra-draw",
3
- "version": "1.24.1",
3
+ "version": "1.24.2",
4
4
  "description": "Frictionless map drawing across mapping provider",
5
5
  "scripts": {
6
6
  "release": "TYPE=$(node ../../bump.mjs) && commit-and-tag-version .versionrc.cjs -t terra-draw@ --release-as $TYPE",
@@ -1,6 +0,0 @@
1
- import { Point, Position } from "geojson";
2
- import { JSONObject } from "../store/store";
3
- export declare function getCoordinatesAsPoints<Properties extends JSONObject>(selectedCoords: Position[], geometryType: "Polygon" | "LineString", properties: (index: number) => Properties): {
4
- geometry: Point;
5
- properties: Properties;
6
- }[];
@@ -1 +0,0 @@
1
- export {};
@@ -1,19 +0,0 @@
1
- import { Position } from "geojson";
2
- import { BehaviorConfig, TerraDrawModeBehavior } from "../../base.behavior";
3
- import { TerraDrawMouseEvent } from "../../../common";
4
- import { PixelDistanceBehavior } from "../../pixel-distance.behavior";
5
- export declare class ClosingPointsBehavior extends TerraDrawModeBehavior {
6
- readonly config: BehaviorConfig;
7
- private readonly pixelDistance;
8
- constructor(config: BehaviorConfig, pixelDistance: PixelDistanceBehavior);
9
- private _startEndPoints;
10
- get ids(): string[];
11
- set ids(_: string[]);
12
- create(selectedCoords: Position[], mode: string): void;
13
- delete(): void;
14
- update(updatedCoordinates: Position[]): void;
15
- isClosingPoint(event: TerraDrawMouseEvent): {
16
- isClosing: boolean;
17
- isPreviousClosing: boolean;
18
- };
19
- }
@@ -1 +0,0 @@
1
- declare const uuidRegExp: RegExp;
@@ -1,2 +0,0 @@
1
- import { TerraDrawCallbacks } from "../common";
2
- export declare const MockCallbacks: (overrides?: Partial<TerraDrawCallbacks>) => TerraDrawCallbacks;
@@ -1 +0,0 @@
1
- export declare const MockPointerEvent: () => PointerEvent;