Skip to content

Commit

Permalink
Fix TypeScript translation (#1316) (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
Falke-Design authored Feb 19, 2023
1 parent b6cb71e commit 07ddbef
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions leaflet-geoman.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ declare module 'leaflet' {
startCircle?: string;
finishCircle?: string;
placeCircleMarker?: string;
placeText?: string;
};

actions?: {
Expand All @@ -608,7 +609,25 @@ declare module 'leaflet' {
cutButton?: string;
deleteButton?: string;
drawCircleMarkerButton?: string;
snappingButton?: string;
pinningButton?: string;
rotateButton?: string;
drawTextButton?: string;
scaleButton?: string;
autoTracingButton?: string;
};

measurements?: {
totalLength?: string;
segmentLength?: string;
area?: string;
radius?: string;
perimeter?: string;
height?: string;
width?: string;
coordinates?: string;
coordinatesMarker?: string;
}
}

type ACTION_NAMES = 'cancel' | 'removeLastVertex' | 'finish' | 'finishMode';
Expand Down

0 comments on commit 07ddbef

Please sign in to comment.