# Changelog ## [1.6.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v1.5.0...drawtools-v1.6.0) (2026-05-19) ### Features * Add stopDrawing method ([#2333](https://github.com/EOX-A/EOxElements/issues/2333)) ([00d065e](https://github.com/EOX-A/EOxElements/commit/00d065e747d3e1622e7d34c88cdf5b2a4293005d)) ## [1.5.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v1.4.0...drawtools-v1.5.0) (2026-05-05) ### Features * Support stringified JSON for attributes ([#2304](https://github.com/EOX-A/EOxElements/issues/2304)) ([f30e5b0](https://github.com/EOX-A/EOxElements/commit/f30e5b07730ba10acb1b07237856e9675c2faf67)) ## [1.4.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v1.3.0...drawtools-v1.4.0) (2026-04-30) ### Features * Add removeFeature and removeFeatureByIndex methods ([#2302](https://github.com/EOX-A/EOxElements/issues/2302)) ([f94170f](https://github.com/EOX-A/EOxElements/commit/f94170fbb7705ff9528bbd4813defd297872251a)) ### Bug Fixes * Prevent keydown listener accumulation ([#2300](https://github.com/EOX-A/EOxElements/issues/2300)) ([0ca6f22](https://github.com/EOX-A/EOxElements/commit/0ca6f2220760f38e59ae5437ae8412f90e97a01f)) ## [1.3.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v1.2.0...drawtools-v1.3.0) (2026-04-13) ### Features * Set drawnFeatures programmatically ([#2231](https://github.com/EOX-A/EOxElements/issues/2231)) ([4635edc](https://github.com/EOX-A/EOxElements/commit/4635edcf09f5b7fd59339f094836197ee780ff8d)) ### Bug Fixes * Prevent duplicate drawupdate events ([#2237](https://github.com/EOX-A/EOxElements/issues/2237)) ([c4d593e](https://github.com/EOX-A/EOxElements/commit/c4d593e5e2046a128ad6c56252182388cbc97c6a)) * Resolve broken feature selection when measure and layer-id are active ([#2236](https://github.com/EOX-A/EOxElements/issues/2236)) ([9138e51](https://github.com/EOX-A/EOxElements/commit/9138e51cbb5948c72b4e41fa8b942e4ccc744b21)) * Use correct underscore in modify interaction key ([#2227](https://github.com/EOX-A/EOxElements/issues/2227)) ([134a395](https://github.com/EOX-A/EOxElements/commit/134a395efa200479ffcc6bb9e67326b759984758)) ## [1.2.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v1.1.5...drawtools-v1.2.0) (2026-01-27) ### Features * Area and length measurements ([#2114](https://github.com/EOX-A/EOxElements/issues/2114)) ([c271009](https://github.com/EOX-A/EOxElements/commit/c27100901b18f3108799c450867de3a65fbc0406)) ## [1.1.5](https://github.com/EOX-A/EOxElements/compare/drawtools-v1.1.4...drawtools-v1.1.5) (2025-11-14) ### Bug Fixes * Drawtool support for vectortiles ([#1936](https://github.com/EOX-A/EOxElements/issues/1936)) ([ad7d82f](https://github.com/EOX-A/EOxElements/commit/ad7d82fa05aacecfb206bb40fe63ef98b78576c2)) ## [1.1.4](https://github.com/EOX-A/EOxElements/compare/drawtools-v1.1.3...drawtools-v1.1.4) (2025-11-10) ### Bug Fixes * Reset map when changing drawing type ([#1927](https://github.com/EOX-A/EOxElements/issues/1927)) ([b236053](https://github.com/EOX-A/EOxElements/commit/b2360537a9ffa59c24a582244bab6e4e0082fa96)) ## [1.1.3](https://github.com/EOX-A/EOxElements/compare/drawtools-v1.1.2...drawtools-v1.1.3) (2025-08-05) ### Bug Fixes * List highlighting when discarding drawn features ([#1802](https://github.com/EOX-A/EOxElements/issues/1802)) ([6f3a897](https://github.com/EOX-A/EOxElements/commit/6f3a8979f7d57694a2cf42df41122e5c96cb967c)) ## [1.1.2](https://github.com/EOX-A/EOxElements/compare/drawtools-v1.1.1...drawtools-v1.1.2) (2025-07-29) ### Bug Fixes * **deps:** Update elements-utils package ([#1797](https://github.com/EOX-A/EOxElements/issues/1797)) ([b0d4758](https://github.com/EOX-A/EOxElements/commit/b0d4758d1499480a77ccd4015827a76a9920553e)) ## [1.1.1](https://github.com/EOX-A/EOxElements/compare/drawtools-v1.1.0...drawtools-v1.1.1) (2025-07-21) ### Bug Fixes * Disconnect/connect drawtools ([#1780](https://github.com/EOX-A/EOxElements/issues/1780)) ([5b89b87](https://github.com/EOX-A/EOxElements/commit/5b89b87021e45f307b2b67bb115358c5a4989640)) * Feature import working only once ([#1784](https://github.com/EOX-A/EOxElements/issues/1784)) ([fa193dc](https://github.com/EOX-A/EOxElements/commit/fa193dc12e8ac722f1bd463bd20c499d9db0ac90)) * Hard-coded projection for features ([#1781](https://github.com/EOX-A/EOxElements/issues/1781)) ([58d8214](https://github.com/EOX-A/EOxElements/commit/58d82145e704b3b7163bf28b7e2553fd0ba1c1fe)) ## [1.1.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v1.0.0...drawtools-v1.1.0) (2025-07-17) ### Features * Support nested properties for featureNameKey ([#1773](https://github.com/EOX-A/EOxElements/issues/1773)) ([c3b7bda](https://github.com/EOX-A/EOxElements/commit/c3b7bdaaf85fbe5a9c1960e8de953c12d8be0b57)) * Toggle editor on/off ([#1775](https://github.com/EOX-A/EOxElements/issues/1775)) ([b4a4a16](https://github.com/EOX-A/EOxElements/commit/b4a4a162b3eb120aba63915fc9f48bd82720a3cc)) ### Bug Fixes * Emit drawupdate event when deleting single feature ([#1778](https://github.com/EOX-A/EOxElements/issues/1778)) ([57713e3](https://github.com/EOX-A/EOxElements/commit/57713e3357462196ca0f80aea2e51b2f36b13c80)) * **style:** Sizing of editor text-area ([56389c9](https://github.com/EOX-A/EOxElements/commit/56389c9410e0e20dcd49d99efb19367765144c19)) ## [1.0.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.15.0...drawtools-v1.0.0) (2025-06-30) ### Features * **style:** Use unified ui package ([#1583](https://github.com/EOX-A/EOxElements/issues/1583)) ([239cdc1](https://github.com/EOX-A/EOxElements/commit/239cdc12d1e792ad77a52b5e8b8e51586e836141)) ## [0.15.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.14.3...drawtools-v0.15.0) (2025-06-16) ### Features * Show selected feature title from some property value ([#1719](https://github.com/EOX-A/EOxElements/issues/1719)) ([c939258](https://github.com/EOX-A/EOxElements/commit/c939258ac62cac68610f4bb8b7dbe4178b9f99ad)) ## [0.14.3](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.14.2...drawtools-v0.14.3) (2025-05-20) ### Bug Fixes * Mirror changes to json + error handing ([#1698](https://github.com/EOX-A/EOxElements/issues/1698)) ([0bf6c80](https://github.com/EOX-A/EOxElements/commit/0bf6c80f0a41420f7cb952d3b55c40071bcca46e)) ## [0.14.2](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.14.1...drawtools-v0.14.2) (2025-03-06) ### Bug Fixes * Remove features cleanly on continuous drawing ([#1590](https://github.com/EOX-A/EOxElements/issues/1590)) ([58a0bb5](https://github.com/EOX-A/EOxElements/commit/58a0bb5325364d4492858d4ee91f6cfd79f4faa9)) ## [0.14.1](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.14.0...drawtools-v0.14.1) (2025-03-03) ### Features * Added new prop to `handleFeatureChange` func ([#1575](https://github.com/EOX-A/EOxElements/issues/1575)) ([04e6833](https://github.com/EOX-A/EOxElements/commit/04e6833720ec789be731879303d05cbbb188c20a)) ### Bug Fixes * Feature deletion by index ([#1582](https://github.com/EOX-A/EOxElements/issues/1582)) ([b724d13](https://github.com/EOX-A/EOxElements/commit/b724d13c381c9ecb08123e967de4d1cb79a74ca4)) ## [0.14.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.13.5...drawtools-v0.14.0) (2025-02-26) ### Features * Allow setting feature name for rendered list ([#1569](https://github.com/EOX-A/EOxElements/issues/1569)) ([dedf539](https://github.com/EOX-A/EOxElements/commit/dedf53956e12954c2fa73a10d53e42831ae2b7b1)) ### Bug Fixes * Fallback for getting feature id ([#1566](https://github.com/EOX-A/EOxElements/issues/1566)) ([76f9445](https://github.com/EOX-A/EOxElements/commit/76f9445900a50e48c445849c284d8abdc135cb10)) * Typescript exports ([#1568](https://github.com/EOX-A/EOxElements/issues/1568)) ([6ee10d0](https://github.com/EOX-A/EOxElements/commit/6ee10d0c3898ca1afaeb3c2adc9581b39f897f2c)) ## [0.13.5](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.13.4...drawtools-v0.13.5) (2025-02-25) ### Features * Introduce continuous drawing ([#1549](https://github.com/EOX-A/EOxElements/issues/1549)) ([46f69c6](https://github.com/EOX-A/EOxElements/commit/46f69c6c77feb9a295ddb8dfab1849b4acf13a4e)) ## [0.13.4](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.13.3...drawtools-v0.13.4) (2025-02-24) ### Features * Enable styling draw layer & hover and click interactions ([#1548](https://github.com/EOX-A/EOxElements/issues/1548)) ([dcbb5af](https://github.com/EOX-A/EOxElements/commit/dcbb5afd2477536d91b8b6e60305114bb4588ac9)) ## [0.13.3](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.13.2...drawtools-v0.13.3) (2025-01-08) ### Bug Fixes * **deps:** Update elements-utils package ([#1471](https://github.com/EOX-A/EOxElements/issues/1471)) ([5b56ed5](https://github.com/EOX-A/EOxElements/commit/5b56ed50aeda0f0ad7044d3b26d0bcca568dcce4)) ## [0.13.2](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.13.1...drawtools-v0.13.2) (2024-12-18) ### Bug Fixes * Init draw layer without tooltip ([#1432](https://github.com/EOX-A/EOxElements/issues/1432)) ([60a6034](https://github.com/EOX-A/EOxElements/commit/60a6034539f4653d4fb26b82f2f768dd29a299a7)) ## [0.13.1](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.13.0...drawtools-v0.13.1) (2024-12-12) ### Bug Fixes * Remove drawLayer when the element is disconnected ([#1408](https://github.com/EOX-A/EOxElements/issues/1408)) ([40f0993](https://github.com/EOX-A/EOxElements/commit/40f09931aa76a9c934ac2abac104de92cd198193)) ## [0.13.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.12.0...drawtools-v0.13.0) (2024-11-26) ### Features * Support emitting the drawn features in `WKT` and `GeoJson` formats ([#1395](https://github.com/EOX-A/EOxElements/issues/1395)) ([d86430c](https://github.com/EOX-A/EOxElements/commit/d86430c1560e669227939482cc25b22ca73d30ca)) ## [0.12.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.11.1...drawtools-v0.12.0) (2024-11-07) ### Features * Build and include element's type declarations ([#1353](https://github.com/EOX-A/EOxElements/issues/1353)) ([f17166e](https://github.com/EOX-A/EOxElements/commit/f17166e292ce546a2ff45433a05248330eb63713)) * Enable configuring the projection of emitted features ([#1356](https://github.com/EOX-A/EOxElements/issues/1356)) ([414e908](https://github.com/EOX-A/EOxElements/commit/414e9087240a2ebb4d6d8347f5f540e0d2c69eac)) ## [0.11.1](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.11.0...drawtools-v0.11.1) (2024-11-04) ### Bug Fixes * Initialize draw layer with `zIndex` 100 ([#1344](https://github.com/EOX-A/EOxElements/issues/1344)) ([e32858c](https://github.com/EOX-A/EOxElements/commit/e32858c6abb724fa4bd0cd66edf5de54956ff96a)) ## [0.11.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.10.0...drawtools-v0.11.0) (2024-10-22) ### Features * Introduce Vector Layer feature selection ([#1317](https://github.com/EOX-A/EOxElements/issues/1317)) ([19eb75a](https://github.com/EOX-A/EOxElements/commit/19eb75a71f1e17aec03c0346eee4b4a322483711)) ## [0.10.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.9.0...drawtools-v0.10.0) (2024-10-17) ### Features * **build:** Provide un-bundled element by default (bundled version still available in dist folder) ([#1065](https://github.com/EOX-A/EOxElements/issues/1065)) ([333e324](https://github.com/EOX-A/EOxElements/commit/333e324def0354992fadd4640fc2ee9b72a545b4)) ## [0.9.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.8.1...drawtools-v0.9.0) (2024-08-06) ### Features * Allow passing `eox-map` DOM element to `for` property reactively ([#1152](https://github.com/EOX-A/EOxElements/issues/1152)) ([379d885](https://github.com/EOX-A/EOxElements/commit/379d885ddf14980e6b861172fbd066df36bf152d)) ## [0.8.1](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.8.0...drawtools-v0.8.1) (2024-06-12) ### Miscellaneous chores * Adaptations for updated ol version ([#987](https://github.com/EOX-A/EOxElements/issues/987)) ([5475125](https://github.com/EOX-A/EOxElements/commit/5475125ae7e280550f8ab90e18cad011d478579e)) ## [0.8.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.7.0...drawtools-v0.8.0) (2024-02-22) ### Features * Feature editor with shape upload and drag&drop ([#649](https://github.com/EOX-A/EOxElements/issues/649)) ([71acb56](https://github.com/EOX-A/EOxElements/commit/71acb560fa99a15688519af0256e6c8c4a2882da)) ## [0.7.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.6.1...drawtools-v0.7.0) (2024-02-12) ### Features * Theming using CSS variables ([#616](https://github.com/EOX-A/EOxElements/issues/616)) ([13bcfae](https://github.com/EOX-A/EOxElements/commit/13bcfaee1ef58764f8f0337bc580317b700201af)) ## [0.6.1](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.6.0...drawtools-v0.6.1) (2023-12-13) ### Bug Fixes * Remove interaction check ([#518](https://github.com/EOX-A/EOxElements/issues/518)) ([807ed01](https://github.com/EOX-A/EOxElements/commit/807ed010fdf248d6cab30952fc42df664a39d3b9)) ## [0.6.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.5.0...drawtools-v0.6.0) (2023-11-27) ### Features * Draw type property ([#472](https://github.com/EOX-A/EOxElements/issues/472)) ([8ae6a71](https://github.com/EOX-A/EOxElements/commit/8ae6a7152828b2c0c5bb49165c946fd248b1465d)) * Enable modify via property ([#470](https://github.com/EOX-A/EOxElements/issues/470)) ([7fd49f3](https://github.com/EOX-A/EOxElements/commit/7fd49f36bb3b46e0b7d9113cb4821ac67e4362a0)) * Introduction of new interaction API ([#400](https://github.com/EOX-A/EOxElements/issues/400)) ([808539b](https://github.com/EOX-A/EOxElements/commit/808539b5846b6ac010e3bd7686c0aaf1c5c86cf9)) ## [0.5.0](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.4.2...drawtools-v0.5.0) (2023-11-16) ### Features * Display of drawn feature ([#371](https://github.com/EOX-A/EOxElements/issues/371)) ([43753b6](https://github.com/EOX-A/EOxElements/commit/43753b6e24fd799cc71fa1c41a71df37ca50608e)) ## [0.4.2](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.4.1...drawtools-v0.4.2) (2023-10-19) ### Bug Fixes * Emit drawupdate event also on discard ([#348](https://github.com/EOX-A/EOxElements/issues/348)) ([04d9ebf](https://github.com/EOX-A/EOxElements/commit/04d9ebf1f086f38a2d1b6d08387142ce5651a0f0)) * Prevent zoom on double-click while drawing ([#328](https://github.com/EOX-A/EOxElements/issues/328)) ([a79cb2a](https://github.com/EOX-A/EOxElements/commit/a79cb2a16959f5d43469ae0134402f79ee9c3a3c)) * **style:** Replace buttons with icons ([#347](https://github.com/EOX-A/EOxElements/issues/347)) ([5d0f80b](https://github.com/EOX-A/EOxElements/commit/5d0f80b5806e55e302bcc44c37f10e0088b5842d)) ### Miscellaneous Chores * **docs:** Add story description ([bf52202](https://github.com/EOX-A/EOxElements/commit/bf522028075a7861c82cba02ce9838edec735ae4)) * Update readme ([1da4fcf](https://github.com/EOX-A/EOxElements/commit/1da4fcf655ddfc769035d680f93940629f7eabc3)) ## [0.4.1](https://github.com/EOX-A/EOxElements/compare/drawtools-v0.4.0...drawtools-v0.4.1) (2023-10-19) ### Bug Fixes * Prevent zoom on double-click while drawing ([#328](https://github.com/EOX-A/EOxElements/issues/328)) ([a79cb2a](https://github.com/EOX-A/EOxElements/commit/a79cb2a16959f5d43469ae0134402f79ee9c3a3c)) ## 0.4.0 (2023-10-11) ### Miscellaneous Chores - Update readme ([1da4fcf](https://github.com/EOX-A/EOxElements/commit/1da4fcf655ddfc769035d680f93940629f7eabc3))