diff --git a/assets/package-lock.json b/assets/package-lock.json index 2526ce733c..798ee389ac 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -10,6 +10,7 @@ "license": "ISC", "dependencies": { "flatgeobuf": "^3.36.0", + "ol-ext": "^4.0.24", "ol-wfs-capabilities": "^2.0.0" }, "devDependencies": { @@ -3567,6 +3568,14 @@ "url": "https://opencollective.com/openlayers" } }, + "node_modules/ol-ext": { + "version": "4.0.24", + "resolved": "https://registry.npmjs.org/ol-ext/-/ol-ext-4.0.24.tgz", + "integrity": "sha512-VEf1+mjvbe35mMsszVsugqcvWfeGcU8TwS+GgXm3nGYqiHR7CckX2DWmM9B94QCDnrJWKKXBicfInbkoe2xT7w==", + "peerDependencies": { + "ol": ">= 5.3.0" + } + }, "node_modules/ol-wfs-capabilities": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ol-wfs-capabilities/-/ol-wfs-capabilities-2.0.0.tgz", diff --git a/assets/package.json b/assets/package.json index d84d2f4c57..92c49a9bf7 100644 --- a/assets/package.json +++ b/assets/package.json @@ -29,6 +29,7 @@ "license": "ISC", "dependencies": { "flatgeobuf": "^3.36.0", + "ol-ext": "^4.0.24", "ol-wfs-capabilities": "^2.0.0" } } diff --git a/assets/src/components/Digitizing.js b/assets/src/components/Digitizing.js index d01b4f5304..e0151f20db 100644 --- a/assets/src/components/Digitizing.js +++ b/assets/src/components/Digitizing.js @@ -20,6 +20,7 @@ import '../images/svg/text.svg'; import '../images/svg/pencil.svg'; import '../images/svg/edit.svg'; +import '../images/svg/rotate.svg'; import '../images/svg/eraser.svg'; import '../images/svg/eraser-all.svg'; import '../images/svg/save.svg'; @@ -152,6 +153,11 @@ export default class Digitizing extends HTMLElement { +