mahal_map 1.6.4 → 1.6.5
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/dist/index.d.mts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/dist/mahal_map.sdk.js +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -284,11 +284,13 @@ declare class MeasureTool {
|
|
|
284
284
|
private linesSourceId;
|
|
285
285
|
private fillsSourceId;
|
|
286
286
|
private labelsSourceId;
|
|
287
|
+
private hoverPointSourceId;
|
|
287
288
|
private pointsLayerId;
|
|
288
289
|
private linesCasingLayerId;
|
|
289
290
|
private linesLayerId;
|
|
290
291
|
private fillsLayerId;
|
|
291
292
|
private labelsLayerId;
|
|
293
|
+
private hoverPointLayerId;
|
|
292
294
|
private mode;
|
|
293
295
|
private isActive;
|
|
294
296
|
private draft;
|
|
@@ -297,6 +299,7 @@ declare class MeasureTool {
|
|
|
297
299
|
private draggingPointId;
|
|
298
300
|
private draggingShapeId;
|
|
299
301
|
private suppressNextClick;
|
|
302
|
+
private hoverInsert;
|
|
300
303
|
private onChange?;
|
|
301
304
|
private onCloseRequest?;
|
|
302
305
|
private handleClick;
|
|
@@ -304,6 +307,9 @@ declare class MeasureTool {
|
|
|
304
307
|
private handlePointMouseEnter;
|
|
305
308
|
private handlePointMouseLeave;
|
|
306
309
|
private handlePointContextMenu;
|
|
310
|
+
private handleLineMouseMove;
|
|
311
|
+
private handleLineMouseLeave;
|
|
312
|
+
private handleLineMouseDown;
|
|
307
313
|
private handleStyleLoad;
|
|
308
314
|
private handleViewportChange;
|
|
309
315
|
constructor(map: Map, options?: MeasureToolOptions);
|
|
@@ -327,6 +333,14 @@ declare class MeasureTool {
|
|
|
327
333
|
private onPointDragMove;
|
|
328
334
|
private onPointDragUp;
|
|
329
335
|
private stopDragListeners;
|
|
336
|
+
private projectPoint;
|
|
337
|
+
private closestPointOnSegment;
|
|
338
|
+
private findClosestPointOnShape;
|
|
339
|
+
private isOverExistingPoint;
|
|
340
|
+
private onLineMouseMove;
|
|
341
|
+
private clearHoverInsert;
|
|
342
|
+
private onLineMouseDown;
|
|
343
|
+
private renderHoverPoint;
|
|
330
344
|
private onPointContextMenu;
|
|
331
345
|
private setCursor;
|
|
332
346
|
private onStyleLoad;
|
package/dist/index.d.ts
CHANGED
|
@@ -284,11 +284,13 @@ declare class MeasureTool {
|
|
|
284
284
|
private linesSourceId;
|
|
285
285
|
private fillsSourceId;
|
|
286
286
|
private labelsSourceId;
|
|
287
|
+
private hoverPointSourceId;
|
|
287
288
|
private pointsLayerId;
|
|
288
289
|
private linesCasingLayerId;
|
|
289
290
|
private linesLayerId;
|
|
290
291
|
private fillsLayerId;
|
|
291
292
|
private labelsLayerId;
|
|
293
|
+
private hoverPointLayerId;
|
|
292
294
|
private mode;
|
|
293
295
|
private isActive;
|
|
294
296
|
private draft;
|
|
@@ -297,6 +299,7 @@ declare class MeasureTool {
|
|
|
297
299
|
private draggingPointId;
|
|
298
300
|
private draggingShapeId;
|
|
299
301
|
private suppressNextClick;
|
|
302
|
+
private hoverInsert;
|
|
300
303
|
private onChange?;
|
|
301
304
|
private onCloseRequest?;
|
|
302
305
|
private handleClick;
|
|
@@ -304,6 +307,9 @@ declare class MeasureTool {
|
|
|
304
307
|
private handlePointMouseEnter;
|
|
305
308
|
private handlePointMouseLeave;
|
|
306
309
|
private handlePointContextMenu;
|
|
310
|
+
private handleLineMouseMove;
|
|
311
|
+
private handleLineMouseLeave;
|
|
312
|
+
private handleLineMouseDown;
|
|
307
313
|
private handleStyleLoad;
|
|
308
314
|
private handleViewportChange;
|
|
309
315
|
constructor(map: Map, options?: MeasureToolOptions);
|
|
@@ -327,6 +333,14 @@ declare class MeasureTool {
|
|
|
327
333
|
private onPointDragMove;
|
|
328
334
|
private onPointDragUp;
|
|
329
335
|
private stopDragListeners;
|
|
336
|
+
private projectPoint;
|
|
337
|
+
private closestPointOnSegment;
|
|
338
|
+
private findClosestPointOnShape;
|
|
339
|
+
private isOverExistingPoint;
|
|
340
|
+
private onLineMouseMove;
|
|
341
|
+
private clearHoverInsert;
|
|
342
|
+
private onLineMouseDown;
|
|
343
|
+
private renderHoverPoint;
|
|
330
344
|
private onPointContextMenu;
|
|
331
345
|
private setCursor;
|
|
332
346
|
private onStyleLoad;
|