Skip to content

Commit 07ddbef

Browse files
authored
Fix TypeScript translation (#1316) (patch)
1 parent b6cb71e commit 07ddbef

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

leaflet-geoman.d.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ declare module 'leaflet' {
589589
startCircle?: string;
590590
finishCircle?: string;
591591
placeCircleMarker?: string;
592+
placeText?: string;
592593
};
593594

594595
actions?: {
@@ -608,7 +609,25 @@ declare module 'leaflet' {
608609
cutButton?: string;
609610
deleteButton?: string;
610611
drawCircleMarkerButton?: string;
612+
snappingButton?: string;
613+
pinningButton?: string;
614+
rotateButton?: string;
615+
drawTextButton?: string;
616+
scaleButton?: string;
617+
autoTracingButton?: string;
611618
};
619+
620+
measurements?: {
621+
totalLength?: string;
622+
segmentLength?: string;
623+
area?: string;
624+
radius?: string;
625+
perimeter?: string;
626+
height?: string;
627+
width?: string;
628+
coordinates?: string;
629+
coordinatesMarker?: string;
630+
}
612631
}
613632

614633
type ACTION_NAMES = 'cancel' | 'removeLastVertex' | 'finish' | 'finishMode';

0 commit comments

Comments
 (0)