Skip to content

Commit

Permalink
finish overly long implementation, readying for refactor (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
warm-coolguy committed Feb 20, 2025
1 parent 05b43f3 commit 5bc9014
Show file tree
Hide file tree
Showing 4 changed files with 229 additions and 128 deletions.
83 changes: 83 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/plugins/Draw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"CHANGELOG.md"
],
"dependencies": {
"@turf/boolean-contains": "^7.2.0",
"@turf/center-of-mass": "^7.2.0",
"@polar/lib-get-features": "^3.0.0"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/plugins/Draw/src/locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ export const resourcesDe = {
textSize: 'Textgröße (px) wählen:',
},
lasso: {
layerRejected:
'Die Antwort des Layers "{{id}}" konnte nicht gelesen werden. Es wurden keine Geometrien aus diesem Layer bezogen.',
notInZoomRange:
'Der Layer "$t({{serviceName}})" wurde nicht für die Lasso-Funktion genutzt, da er auf der derzeitigen Zoomstufe nicht aktivierbar ist. Bitte passen Sie die Zoomstufe an, um die Lasso-Funktion zu nutzen.',
fatalError:
'Ein unerwarteter Fehler ist in der Verarbeitung der Lasso-Daten aufgetreten.',
},
},
},
Expand Down Expand Up @@ -91,8 +95,12 @@ export const resourcesEn = {
textSize: 'Choose text size (px):',
},
lasso: {
layerRejected:
'The response of layer "{{id}}" could not be read. No geometries were fetched from that layer.',
notInZoomRange:
'The layer "$t({{serviceName}})" was not used for the lasso as it is not activatable on the current zoom level. Please change the zoom level to use the lasso.',
fatalError:
'An unexpected error occured in the processing of lasso data.',
},
},
},
Expand Down
Loading

0 comments on commit 5bc9014

Please sign in to comment.