mahal_map 1.6.4 → 1.6.6
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 +19 -3
- package/dist/index.d.ts +19 -3
- 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
|
@@ -283,20 +283,23 @@ declare class MeasureTool {
|
|
|
283
283
|
private pointsSourceId;
|
|
284
284
|
private linesSourceId;
|
|
285
285
|
private fillsSourceId;
|
|
286
|
-
private
|
|
286
|
+
private hoverPointSourceId;
|
|
287
287
|
private pointsLayerId;
|
|
288
288
|
private linesCasingLayerId;
|
|
289
289
|
private linesLayerId;
|
|
290
290
|
private fillsLayerId;
|
|
291
|
-
private
|
|
291
|
+
private hoverPointLayerId;
|
|
292
292
|
private mode;
|
|
293
293
|
private isActive;
|
|
294
294
|
private draft;
|
|
295
295
|
private shapes;
|
|
296
296
|
private badge;
|
|
297
|
+
private shapeBadges;
|
|
298
|
+
private icons;
|
|
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;
|
|
@@ -337,8 +351,10 @@ declare class MeasureTool {
|
|
|
337
351
|
private buildLineFeature;
|
|
338
352
|
private buildFillFeature;
|
|
339
353
|
private buildPointFeatures;
|
|
340
|
-
private
|
|
354
|
+
private getShapeAnchor;
|
|
341
355
|
private render;
|
|
356
|
+
private syncShapeBadges;
|
|
357
|
+
private updateShapeBadgePositions;
|
|
342
358
|
private updateBadge;
|
|
343
359
|
private updateBadgePosition;
|
|
344
360
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -283,20 +283,23 @@ declare class MeasureTool {
|
|
|
283
283
|
private pointsSourceId;
|
|
284
284
|
private linesSourceId;
|
|
285
285
|
private fillsSourceId;
|
|
286
|
-
private
|
|
286
|
+
private hoverPointSourceId;
|
|
287
287
|
private pointsLayerId;
|
|
288
288
|
private linesCasingLayerId;
|
|
289
289
|
private linesLayerId;
|
|
290
290
|
private fillsLayerId;
|
|
291
|
-
private
|
|
291
|
+
private hoverPointLayerId;
|
|
292
292
|
private mode;
|
|
293
293
|
private isActive;
|
|
294
294
|
private draft;
|
|
295
295
|
private shapes;
|
|
296
296
|
private badge;
|
|
297
|
+
private shapeBadges;
|
|
298
|
+
private icons;
|
|
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;
|
|
@@ -337,8 +351,10 @@ declare class MeasureTool {
|
|
|
337
351
|
private buildLineFeature;
|
|
338
352
|
private buildFillFeature;
|
|
339
353
|
private buildPointFeatures;
|
|
340
|
-
private
|
|
354
|
+
private getShapeAnchor;
|
|
341
355
|
private render;
|
|
356
|
+
private syncShapeBadges;
|
|
357
|
+
private updateShapeBadgePositions;
|
|
342
358
|
private updateBadge;
|
|
343
359
|
private updateBadgePosition;
|
|
344
360
|
}
|