leaflet-polydraw 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- html,body,#blitz-app{height:100%}.polygon-marker{background-color:#e0f8c5;box-shadow:0 0 0 2px #50622b,0 0 10px #00000059;width:12px!important;height:12px!important;margin-left:-6px!important;margin-top:-6px!important;border-radius:50%;cursor:move;outline:none;transition:background-color .25s}.polygon-marker.menu{margin-left:-11px!important;margin-top:-11px!important;background-color:#86a2d6;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2040%2040'%20style='enable-background:new%200%200%2040%2040;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:none;}%20.st1{fill:%23FFFFFF;}%20%3c/style%3e%3crect%20y='0'%20class='st0'%20width='40'%20height='40'/%3e%3cpath%20class='st1'%20d='M34.6,19.9L34.6,19.9c-0.1-2.1-0.5-4.1-1.4-5.8l4.3-3.6l-4.2-5.2l-4.5,3.4l0,0c-1.6-1.2-3.4-2.1-5.3-2.5l0,0%20l-0.2-5.6h-6.7l-0.2,5.6c-2,0.5-3.8,1.4-5.4,2.6l0,0L6.6,5.3l-4.2,5.2l4.3,3.6l0,0C5.9,16,5.5,17.9,5.4,20l0,0L0,21.4l1.5,6.5%20L7,26.8l0,0c0.9,1.8,2.2,3.4,3.8,4.7l0,0l-2.3,5.1l6,2.9l2.6-5c1,0.2,1.9,0.3,2.9,0.3c1.1,0,2.1-0.1,3.1-0.3l0,0l2.6,5l6-2.9%20l-2.3-5.1l0,0c1.5-1.3,2.8-2.9,3.7-4.7l0,0l5.5,1.1l1.4-6.5L34.6,19.9z%20M11.9,20.2c0-4.4,3.6-8.1,8.1-8.1c4.4,0,8.1,3.6,8.1,8.1%20s-3.6,8.1-8.1,8.1C15.5,28.3,11.9,24.7,11.9,20.2z'/%3e%3c/svg%3e");-ms-background-size:20px 20px;background-size:20px 20px;background-repeat:no-repeat;background-position:center;width:24px!important;height:24px!important;z-index:10000;cursor:pointer}.polygon-marker.info{margin-left:-11px!important;margin-top:-11px!important;background-color:#86a2d6;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2021.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20200%20200'%20style='enable-background:new%200%200%20200%20200;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:none;}%20.st1{fill:%23FFFFFF;}%20.st2{opacity:0.3;fill:%23FFFFFF;}%20%3c/style%3e%3crect%20class='st0'%20width='200'%20height='200'/%3e%3cg%3e%3cpath%20class='st1'%20d='M100,1.4C45.5,1.4,1.4,45.5,1.4,100c0,54.5,44.2,98.6,98.6,98.6s98.6-44.2,98.6-98.6%20C198.6,45.5,154.5,1.4,100,1.4z%20M100,174.4c-41.1,0-74.4-33.3-74.4-74.4c0-41.1,33.3-74.4,74.4-74.4c41.1,0,74.4,33.3,74.4,74.4%20C174.4,141.1,141.1,174.4,100,174.4z'/%3e%3cpath%20class='st1'%20d='M94.1,66.4c1,1,2.1,1.9,3.4,2.5c1.3,0.6,2.8,0.9,4.4,0.9c1.5,0,3-0.3,4.3-0.9c1.3-0.6,2.4-1.4,3.3-2.5%20c0.9-1,1.6-2.2,2.1-3.6s0.7-2.8,0.7-4.4c0-1.6-0.3-3.1-0.8-4.5c-0.5-1.4-1.3-2.6-2.2-3.7c-1-1-2.1-1.9-3.4-2.5%20c-1.3-0.6-2.7-0.9-4.2-0.9c-1.5,0-2.8,0.3-4.1,0.9s-2.4,1.4-3.4,2.5c-1,1-1.7,2.3-2.3,3.7c-0.6,1.4-0.9,2.9-0.9,4.5%20c0,1.6,0.3,3.1,0.8,4.4S93.2,65.3,94.1,66.4z'/%3e%3cpath%20class='st1'%20d='M109.9,139.7c0.1-1.2,0.1-2.3,0.2-3.4c0-1.1,0.1-2.1,0.1-3.1c0-1,0-1.8,0-2.5V82.1h-7.6%20c-0.5,0.5-1.3,0.9-2.3,1.4c-1.1,0.5-2.5,0.9-4.2,1.4c-1.7,0.4-3.9,0.8-6.3,1c-2.5,0.3-5.3,0.4-8.5,0.4v10.5l9.8-0.4%20c-0.2,2.1-0.4,4.2-0.4,6.4c-0.1,2.2-0.1,4.1-0.1,5.8v23.2c0,1.9-0.1,3.6-0.2,5.1c-0.1,1.5-0.5,2.8-1,3.9c-0.5,1.1-1.4,1.9-2.5,2.5%20c-1.1,0.6-2.6,0.9-4.6,0.9v9.1h36.6v-10.6l-9.1,0.4C109.8,141.9,109.9,140.8,109.9,139.7z'/%3e%3ccircle%20class='st2'%20cx='100'%20cy='103'%20r='86.2'/%3e%3c/g%3e%3c/svg%3e");-ms-background-size:24px 24px;background-size:24px 24px;background-repeat:no-repeat;background-position:center;width:24px!important;height:24px!important;z-index:10000;cursor:pointer}.polygon-marker:hover{width:18px!important;height:18px!important;margin-left:-9px!important;margin-top:-9px!important}.polygon-marker.menu:hover{background-color:red;width:24px!important;height:24px!important;z-index:10000;margin-left:-11px!important;margin-top:-11px!important}.polygon-marker.info:hover{background-color:#86a2d6;width:24px!important;height:24px!important;z-index:10000;margin-left:-11px!important;margin-top:-11px!important}.polygon-marker.delete{margin-left:-11px!important;margin-top:-11px!important;background-color:#645d5d;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2021.0.2,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2048%2048'%20style='enable-background:new%200%200%2048%2048;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23ffffff}%20.st1{fill:%23333333;fill-opacity:0;}%20%3c/style%3e%3ctitle%3etrash%3c/title%3e%3crect%20class='st1'%20width='48'%20height='48'/%3e%3cpolygon%20class='st0'%20points='26.6,10%2026.6,7.8%2021.4,7.8%2021.4,10%2012.6,10%2012.6,12.8%2035.4,12.8%2035.4,10%20'/%3e%3cpath%20class='st0'%20d='M35.4,15.4H12.6v4.3h1.8V37c0,1.1,0.9,2,2,2h15.2c1.1,0,2-0.9,2-2V19.7h1.8V15.4z%20M19.7,34.2c0,0.5-0.4,1-1,1%20c-0.5,0-1-0.4-1-1V22.6c0-0.5,0.4-1,1-1c0.5,0,1,0.4,1,1V34.2z%20M25.3,33.8c0,0.7-0.6,1.3-1.3,1.3c-0.7,0-1.3-0.6-1.3-1.3V23%20c0-0.7,0.6-1.3,1.3-1.3c0.7,0,1.3,0.6,1.3,1.3V33.8z%20M30.3,34.2c0,0.5-0.4,1-1,1c-0.5,0-1-0.4-1-1V22.6c0-0.5,0.4-1,1-1%20c0.5,0,1,0.4,1,1V34.2z'/%3e%3c/svg%3e");-ms-background-size:24px 24px;background-size:24px 24px;background-repeat:no-repeat;background-position:center;width:24px!important;height:24px!important;z-index:10000;cursor:pointer}.polygon-marker.delete:hover{background-color:#5c5151;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2021.0.2,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2048%2048'%20style='enable-background:new%200%200%2048%2048;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23ffffff}%20.st1{fill:%23333333;fill-opacity:0;}%20%3c/style%3e%3ctitle%3etrash%3c/title%3e%3crect%20class='st1'%20width='48'%20height='48'/%3e%3cpolygon%20class='st0'%20points='27.4,9.3%2027.8,7.1%2022.7,6%2022.2,8.2%2013.6,6.4%2013.1,9.1%2035.4,13.8%2036,11.1%20'/%3e%3cpath%20class='st0'%20d='M35.4,15.4H12.6v4.3h1.8V37c0,1.1,0.9,2,2,2h15.2c1.1,0,2-0.9,2-2V19.7h1.8V15.4z%20M19.7,34.2c0,0.5-0.4,1-1,1%20c-0.5,0-1-0.4-1-1V22.6c0-0.5,0.4-1,1-1c0.5,0,1,0.4,1,1V34.2z%20M25.3,33.8c0,0.7-0.6,1.3-1.3,1.3c-0.7,0-1.3-0.6-1.3-1.3V23%20c0-0.7,0.6-1.3,1.3-1.3c0.7,0,1.3,0.6,1.3,1.3V33.8z%20M30.3,34.2c0,0.5-0.4,1-1,1c-0.5,0-1-0.4-1-1V22.6c0-0.5,0.4-1,1-1%20c0.5,0,1,0.4,1,1V34.2z'/%3e%3c/svg%3e");width:24px!important;height:24px!important;z-index:10000;margin-left:-11px!important;margin-top:-11px!important}.polygon-marker.hole{background-color:#fcc;box-shadow:0 0 0 2px #a00,0 0 10px #00000059;width:12px!important;height:12px!important;margin-left:-6px!important;margin-top:-6px!important;border-radius:50%;cursor:move;outline:none;transition:background-color .25s}.polygon-marker.hole:hover{background-color:#d4a5b8;width:18px!important;height:18px!important;margin-left:-9px!important;margin-top:-9px!important}.marker-menu-inner-wrapper{display:flex;flex-direction:column}.marker-menu-header{font-weight:600}.marker-menu-content{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:0;max-width:132px}.marker-menu-button{padding:4px;border:1px solid #aaaaaa}.marker-menu-separator{padding:4px}.info-marker,.alter-marker{background-color:#00f;width:100%;display:flex;flex-direction:row-reverse}.info-marker a.leaflet-popup-close-button,.alter-marker a.leaflet-popup-close-button{top:-12px;right:-12.5px;z-index:3;color:#fff}.info-marker a.leaflet-popup-close-button:hover,.alter-marker a.leaflet-popup-close-button:hover{color:#fff}.info-marker .leaflet-popup-content-wrapper,.alter-marker .leaflet-popup-content-wrapper{background:#e93434;color:#fff}.info-marker .leaflet-popup-content-wrapper .leaflet-popup-content,.alter-marker .leaflet-popup-content-wrapper .leaflet-popup-content{margin:0;line-height:1.4}.info-marker .leaflet-popup-content-wrapper,.alter-marker .leaflet-popup-content-wrapper{padding:0}.alter-marker-outer-wrapper,.info-marker-outer-wrapper{overflow:hidden;background-color:#80be50;border-radius:12px;box-shadow:3px 4px 20px #00000080}.alter-marker-wrapper,.info-marker-wrapper{min-height:40px;border:2px solid transparent;background-color:#80be50;color:#fff;padding:0 6px;border-radius:12px;text-align:center}.content{width:auto;min-height:40px;margin-right:12px;display:flex;align-items:center}.marker-menu-content .marker-menu-button{width:22px;height:22px;background-repeat:no-repeat;background-size:22px,22px;background-position:center;padding:4px;border:1px solid #fff;margin:4px;border-radius:4px;cursor:pointer}.marker-menu-content .marker-menu-button.simplify{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3c!--%20Cirklar%20--%3e%3ccircle%20cx='64'%20cy='448'%20r='50'%20style='fill:%23ffffff;stroke:none;fill-opacity:1'/%3e%3ccircle%20cx='64'%20cy='64'%20r='50'%20style='fill:%23ffffff;stroke:none;fill-opacity:1'/%3e%3ccircle%20cx='64'%20cy='256'%20r='50'%20style='fill:%23ffffff;stroke:none;fill-opacity:1'/%3e%3ccircle%20cx='448'%20cy='256'%20r='50'%20style='fill:%23ffffff;stroke:none;fill-opacity:1'/%3e%3c!--%20Linjer%20--%3e%3cpath%20d='M64%2064%20L448%20256%20H64'%20style='fill:none;stroke:%23ffffff;stroke-width:35;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none'/%3e%3cpath%20d='M448%20256%20L64%20448'%20style='fill:none;stroke:%23ffffff;stroke-width:35;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none'/%3e%3c/svg%3e")}.marker-menu-content .marker-menu-button.double-elbows{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%3e%3cpath%20d='M100%20412%20L412%20100'%20style='fill:none;stroke:%23ffffff;stroke-opacity:1;stroke-width:35;stroke-dasharray:none'/%3e%3ccircle%20cx='100'%20cy='412'%20r='40'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-width:25;stroke-opacity:1'/%3e%3ccircle%20cx='416.5'%20cy='91.5'%20r='40'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-width:25;stroke-opacity:1'/%3e%3ccircle%20cx='253.799'%20cy='254.421'%20r='70'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-width:25;stroke-opacity:1'/%3e%3c/svg%3e")}.marker-menu-content .marker-menu-button.bbox{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3c!--%20Cirklar%20i%20hörnen%20--%3e%3ccircle%20cx='64'%20cy='448'%20r='50'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-opacity:1'/%3e%3ccircle%20cx='64'%20cy='64'%20r='50'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-opacity:1'/%3e%3ccircle%20cx='448'%20cy='448'%20r='50'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-opacity:1'/%3e%3ccircle%20cx='448'%20cy='64'%20r='50'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-opacity:1'/%3e%3c!--%20Fyrkantig%20ram%20--%3e%3cpath%20d='M64%2064%20H448%20M448%2064%20V448%20H64%20V64'%20style='fill:none;stroke:%23ffffff;stroke-width:35;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none'/%3e%3c/svg%3e")}.marker-menu-content .marker-menu-button.bezier{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20xml:space='preserve'%20style='enable-background:new%200%200%2040%2040;'%20viewBox='0%200%2040%2040'%20y='0px'%20x='0px'%20id='Layer_1'%20version='1.1'%20sodipodi:docname='icon-bezier.svg'%20inkscape:version='0.92.3%20(2405546,%202018-03-11)'%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='1440'%20inkscape:window-height='837'%20id='namedview11'%20showgrid='false'%20showguides='true'%20inkscape:guide-bbox='true'%20inkscape:zoom='11.8'%20inkscape:cx='19.585579'%20inkscape:cy='18.314137'%20inkscape:window-x='-8'%20inkscape:window-y='-8'%20inkscape:window-maximized='1'%20inkscape:current-layer='Layer_1'%3e%3csodipodi:guide%20position='5,39.40678'%20orientation='1,0'%20id='guide4521'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3csodipodi:guide%20position='35,35.169492'%20orientation='1,0'%20id='guide4523'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3csodipodi:guide%20position='18.389831,35'%20orientation='0,1'%20id='guide4525'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3csodipodi:guide%20position='20.423729,5'%20orientation='0,1'%20id='guide4527'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3csodipodi:guide%20position='20,25.762712'%20orientation='1,0'%20id='guide4533'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3csodipodi:guide%20position='27.372881,20'%20orientation='0,1'%20id='guide4535'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3c/sodipodi:namedview%3e%3cmetadata%20id='metadata9'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%3e%3c/dc:title%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs7'%3e%3cmarker%20inkscape:stockid='Tail'%20orient='auto'%20refY='0.0'%20refX='0.0'%20id='Tail'%20style='overflow:visible'%20inkscape:isstock='true'%3e%3cg%20id='g4585'%20transform='scale(-1.2)'%20style='stroke:%23000000;stroke-opacity:1;fill:%23ffffff;fill-opacity:1'%3e%3cpath%20id='path4573'%20d='M%20-3.8048674,-3.9585227%20L%200.54352094,0'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3cpath%20id='path4575'%20d='M%20-1.2866832,-3.9585227%20L%203.0617053,0'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3cpath%20id='path4577'%20d='M%201.3053582,-3.9585227%20L%205.6537466,0'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3cpath%20id='path4579'%20d='M%20-3.8048674,4.1775838%20L%200.54352094,0.21974226'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3cpath%20id='path4581'%20d='M%20-1.2866832,4.1775838%20L%203.0617053,0.21974226'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3cpath%20id='path4583'%20d='M%201.3053582,4.1775838%20L%205.6537466,0.21974226'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3c/g%3e%3c/marker%3e%3c/defs%3e%3cpath%20style='fill:none;stroke:%23ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none'%20d='M%205,35%20C%2035,35%2035,5%2035,5%20v%200'%20id='path4894'%20inkscape:connector-curvature='0'%20/%3e%3cpath%20style='fill:none;stroke:%23fffffe;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:2,%202;stroke-dashoffset:0'%20d='m%2035,4.830508%20v%200%20c%200,0%200,0%200,30.169492%20H%205'%20id='path4896'%20inkscape:connector-curvature='0'%20/%3e%3ccircle%20r='4'%20cy='35.169491'%20cx='34.830509'%20id='path819-25-9-8'%20style='fill:%23ffffff;fill-opacity:1;stroke:%23ffffff;stroke-opacity:1'%20/%3e%3ccircle%20r='4'%20cy='5.5932202'%20cx='34.915257'%20id='path819-25-9'%20style='fill:%23ffffff;fill-opacity:1;stroke:%23ffffff;stroke-opacity:1'%20/%3e%3ccircle%20r='4'%20cy='35'%20cx='5'%20id='path819'%20style='fill:%23ffffff;fill-opacity:1;stroke:%23ffffff;stroke-opacity:1'%20/%3e%3c/svg%3e");position:relative;overflow:hidden}.marker-menu-content .marker-menu-button.transform-scale{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%20viewBox='0%200%2024%2024'%3e%3cg%20fill='none'%3e%3cpath%20stroke='white'%20stroke-linecap='round'%20stroke-width='2'%20d='M3%209V6a3%203%200%200%201%203-3h12a3%203%200%200%201%203%203v12a3%203%200%200%201-3%203h-3'/%3e%3cpath%20fill='white'%20d='M16%208V7h1v1zm-5.793%207.207a1%201%200%200%201-1.414-1.414zM15%2014V8h2v6zm1-5h-6V7h6zm.707-.293l-6.5%206.5l-1.414-1.414l6.5-6.5z'/%3e%3crect%20width='7'%20height='7'%20x='3'%20y='14'%20stroke='white'%20stroke-linecap='round'%20stroke-width='2'%20rx='2'/%3e%3c/g%3e%3c/svg%3e")}.marker-menu-content .marker-menu-button.transform-rotate{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='none'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='1.5'%20d='M11.25%205.25h3m0%203.5c0%202.5-2.798%205.5-6.25%205.5a6.25%206.25%200%201%201%200-12.5c3.75%200%206.25%203.5%206.25%203.5v-3.5'/%3e%3c/svg%3e")}.polydraw-transform-cancel,.polydraw-transform-confirm{width:24px;height:24px;border-radius:3px;pointer-events:auto;cursor:pointer;display:flex;align-items:center;justify-content:center}.alpha-banner{position:absolute;top:6px;right:-18px;background:#fff6;color:#000;padding:1px 20px;font-size:8px;font-weight:700;transform:rotate(45deg);transform-origin:center;z-index:10;box-shadow:0 1px 3px #0000004d;line-height:12px;letter-spacing:.5px}.alter-marker-wrapper .row.bottom-separator{border-bottom:1px dashed #fff}.alter-marker-wrapper .row{display:-webkit-box;display:flex;white-space:nowrap}.alter-marker-wrapper .header{padding-right:4px;width:100%;text-align:left}.alter-marker-wrapper .area,.alter-marker-wrapper .header{font-size:12px;font-weight:600;line-height:20px}.alter-marker-wrapper .unit{font-size:11px;font-weight:400;line-height:20px}.alter-marker-wrapper .unit .sup{font-size:smaller;font-weight:400;line-height:20px;position:relative;top:-2px}.info-marker-wrapper .row.bottom-separator{border-bottom:1px dashed #fff}.info-marker-wrapper .row{display:-webkit-box;display:flex;white-space:nowrap}.info-marker-wrapper .header{padding-right:4px;width:100%;text-align:left}.info-marker-wrapper .area,.info-marker-wrapper .header{font-size:12px;font-weight:600;line-height:20px}.info-marker-wrapper .unit{font-size:11px;font-weight:400;line-height:20px}.info-marker-wrapper .unit .sup{font-size:smaller;font-weight:400;line-height:20px;position:relative;top:-2px}.leaflet-popup-content{margin:0!important;line-height:1.4}.right-margin{margin-right:8px}.polydraw-hidden-marker{opacity:.2;transform:scale(.5);transition:opacity .2s ease,transform .2s ease;background-color:#e0f8c5!important;box-shadow:none!important;border:none!important;z-index:1}.polydraw-hidden-marker:hover{opacity:1!important;transform:scale(1)!important;background-color:#e0f8c5!important;box-shadow:0 0 0 2px #50622b,0 0 10px #00000059!important;border-radius:50%!important;z-index:10000!important}.polydraw-hidden-marker.leaflet-marker-draggable{cursor:move!important}.leaflet-polydraw-p2p-marker{margin-left:-8px;margin-top:-8px}.leaflet-polydraw-p2p-marker.edge-deletion-hover{background-color:#d9460f!important;border-color:#d9460f!important;transform:scale(1.5);transition:all .2s ease}.menu-popup{margin-bottom:-60px}.info-popup{margin-bottom:-18px}.menu-popup .leaflet-popup-tip-container,.info-popup .leaflet-popup-tip-container{display:none}.menu-popup .leaflet-popup-content-wrapper,.info-popup .leaflet-popup-content-wrapper{background:transparent;box-shadow:none}.menu-popup .leaflet-popup-close-button,.info-popup .leaflet-popup-close-button{color:#fff!important}.leaflet-control.leaflet-bar{position:relative;z-index:1000;pointer-events:auto!important}.leaflet-control.leaflet-bar a{pointer-events:auto!important;touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-moz-document url-prefix(){.leaflet-control.leaflet-bar{position:relative!important;z-index:2000!important;pointer-events:auto!important;isolation:isolate}.leaflet-control.leaflet-bar a{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:1}.sub-buttons{pointer-events:auto!important;position:relative;z-index:1}.sub-buttons a{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:1}}@media (max-width: 768px){.leaflet-control.leaflet-bar a{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center}}
1
+ html,body,#blitz-app{height:100%}.polygon-marker{background-color:#e0f8c5;box-shadow:0 0 0 2px #50622b,0 0 10px #00000059;width:12px!important;height:12px!important;margin-left:-6px!important;margin-top:-6px!important;border-radius:50%;cursor:move;outline:none;transition:background-color .25s}.polygon-marker.menu{margin-left:-11px!important;margin-top:-11px!important;background-color:#86a2d6;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2040%2040'%20style='enable-background:new%200%200%2040%2040;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:none;}%20.st1{fill:%23FFFFFF;}%20%3c/style%3e%3crect%20y='0'%20class='st0'%20width='40'%20height='40'/%3e%3cpath%20class='st1'%20d='M34.6,19.9L34.6,19.9c-0.1-2.1-0.5-4.1-1.4-5.8l4.3-3.6l-4.2-5.2l-4.5,3.4l0,0c-1.6-1.2-3.4-2.1-5.3-2.5l0,0%20l-0.2-5.6h-6.7l-0.2,5.6c-2,0.5-3.8,1.4-5.4,2.6l0,0L6.6,5.3l-4.2,5.2l4.3,3.6l0,0C5.9,16,5.5,17.9,5.4,20l0,0L0,21.4l1.5,6.5%20L7,26.8l0,0c0.9,1.8,2.2,3.4,3.8,4.7l0,0l-2.3,5.1l6,2.9l2.6-5c1,0.2,1.9,0.3,2.9,0.3c1.1,0,2.1-0.1,3.1-0.3l0,0l2.6,5l6-2.9%20l-2.3-5.1l0,0c1.5-1.3,2.8-2.9,3.7-4.7l0,0l5.5,1.1l1.4-6.5L34.6,19.9z%20M11.9,20.2c0-4.4,3.6-8.1,8.1-8.1c4.4,0,8.1,3.6,8.1,8.1%20s-3.6,8.1-8.1,8.1C15.5,28.3,11.9,24.7,11.9,20.2z'/%3e%3c/svg%3e");-ms-background-size:20px 20px;background-size:20px 20px;background-repeat:no-repeat;background-position:center;width:24px!important;height:24px!important;z-index:10000;cursor:pointer}.polygon-marker.info{margin-left:-11px!important;margin-top:-11px!important;background-color:#86a2d6;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2021.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20200%20200'%20style='enable-background:new%200%200%20200%20200;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:none;}%20.st1{fill:%23FFFFFF;}%20.st2{opacity:0.3;fill:%23FFFFFF;}%20%3c/style%3e%3crect%20class='st0'%20width='200'%20height='200'/%3e%3cg%3e%3cpath%20class='st1'%20d='M100,1.4C45.5,1.4,1.4,45.5,1.4,100c0,54.5,44.2,98.6,98.6,98.6s98.6-44.2,98.6-98.6%20C198.6,45.5,154.5,1.4,100,1.4z%20M100,174.4c-41.1,0-74.4-33.3-74.4-74.4c0-41.1,33.3-74.4,74.4-74.4c41.1,0,74.4,33.3,74.4,74.4%20C174.4,141.1,141.1,174.4,100,174.4z'/%3e%3cpath%20class='st1'%20d='M94.1,66.4c1,1,2.1,1.9,3.4,2.5c1.3,0.6,2.8,0.9,4.4,0.9c1.5,0,3-0.3,4.3-0.9c1.3-0.6,2.4-1.4,3.3-2.5%20c0.9-1,1.6-2.2,2.1-3.6s0.7-2.8,0.7-4.4c0-1.6-0.3-3.1-0.8-4.5c-0.5-1.4-1.3-2.6-2.2-3.7c-1-1-2.1-1.9-3.4-2.5%20c-1.3-0.6-2.7-0.9-4.2-0.9c-1.5,0-2.8,0.3-4.1,0.9s-2.4,1.4-3.4,2.5c-1,1-1.7,2.3-2.3,3.7c-0.6,1.4-0.9,2.9-0.9,4.5%20c0,1.6,0.3,3.1,0.8,4.4S93.2,65.3,94.1,66.4z'/%3e%3cpath%20class='st1'%20d='M109.9,139.7c0.1-1.2,0.1-2.3,0.2-3.4c0-1.1,0.1-2.1,0.1-3.1c0-1,0-1.8,0-2.5V82.1h-7.6%20c-0.5,0.5-1.3,0.9-2.3,1.4c-1.1,0.5-2.5,0.9-4.2,1.4c-1.7,0.4-3.9,0.8-6.3,1c-2.5,0.3-5.3,0.4-8.5,0.4v10.5l9.8-0.4%20c-0.2,2.1-0.4,4.2-0.4,6.4c-0.1,2.2-0.1,4.1-0.1,5.8v23.2c0,1.9-0.1,3.6-0.2,5.1c-0.1,1.5-0.5,2.8-1,3.9c-0.5,1.1-1.4,1.9-2.5,2.5%20c-1.1,0.6-2.6,0.9-4.6,0.9v9.1h36.6v-10.6l-9.1,0.4C109.8,141.9,109.9,140.8,109.9,139.7z'/%3e%3ccircle%20class='st2'%20cx='100'%20cy='103'%20r='86.2'/%3e%3c/g%3e%3c/svg%3e");-ms-background-size:24px 24px;background-size:24px 24px;background-repeat:no-repeat;background-position:center;width:24px!important;height:24px!important;z-index:10000;cursor:pointer}.polygon-marker:hover{width:18px!important;height:18px!important;margin-left:-9px!important;margin-top:-9px!important}.polygon-marker.menu:hover{background-color:red;width:24px!important;height:24px!important;z-index:10000;margin-left:-11px!important;margin-top:-11px!important}.polygon-marker.info:hover{background-color:#86a2d6;width:24px!important;height:24px!important;z-index:10000;margin-left:-11px!important;margin-top:-11px!important}.polygon-marker.delete{margin-left:-11px!important;margin-top:-11px!important;background-color:#645d5d;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2021.0.2,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2048%2048'%20style='enable-background:new%200%200%2048%2048;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23ffffff}%20.st1{fill:%23333333;fill-opacity:0;}%20%3c/style%3e%3ctitle%3etrash%3c/title%3e%3crect%20class='st1'%20width='48'%20height='48'/%3e%3cpolygon%20class='st0'%20points='26.6,10%2026.6,7.8%2021.4,7.8%2021.4,10%2012.6,10%2012.6,12.8%2035.4,12.8%2035.4,10%20'/%3e%3cpath%20class='st0'%20d='M35.4,15.4H12.6v4.3h1.8V37c0,1.1,0.9,2,2,2h15.2c1.1,0,2-0.9,2-2V19.7h1.8V15.4z%20M19.7,34.2c0,0.5-0.4,1-1,1%20c-0.5,0-1-0.4-1-1V22.6c0-0.5,0.4-1,1-1c0.5,0,1,0.4,1,1V34.2z%20M25.3,33.8c0,0.7-0.6,1.3-1.3,1.3c-0.7,0-1.3-0.6-1.3-1.3V23%20c0-0.7,0.6-1.3,1.3-1.3c0.7,0,1.3,0.6,1.3,1.3V33.8z%20M30.3,34.2c0,0.5-0.4,1-1,1c-0.5,0-1-0.4-1-1V22.6c0-0.5,0.4-1,1-1%20c0.5,0,1,0.4,1,1V34.2z'/%3e%3c/svg%3e");-ms-background-size:24px 24px;background-size:24px 24px;background-repeat:no-repeat;background-position:center;width:24px!important;height:24px!important;z-index:10000;cursor:pointer}.polygon-marker.delete:hover{background-color:#5c5151;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2021.0.2,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2048%2048'%20style='enable-background:new%200%200%2048%2048;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23ffffff}%20.st1{fill:%23333333;fill-opacity:0;}%20%3c/style%3e%3ctitle%3etrash%3c/title%3e%3crect%20class='st1'%20width='48'%20height='48'/%3e%3cpolygon%20class='st0'%20points='27.4,9.3%2027.8,7.1%2022.7,6%2022.2,8.2%2013.6,6.4%2013.1,9.1%2035.4,13.8%2036,11.1%20'/%3e%3cpath%20class='st0'%20d='M35.4,15.4H12.6v4.3h1.8V37c0,1.1,0.9,2,2,2h15.2c1.1,0,2-0.9,2-2V19.7h1.8V15.4z%20M19.7,34.2c0,0.5-0.4,1-1,1%20c-0.5,0-1-0.4-1-1V22.6c0-0.5,0.4-1,1-1c0.5,0,1,0.4,1,1V34.2z%20M25.3,33.8c0,0.7-0.6,1.3-1.3,1.3c-0.7,0-1.3-0.6-1.3-1.3V23%20c0-0.7,0.6-1.3,1.3-1.3c0.7,0,1.3,0.6,1.3,1.3V33.8z%20M30.3,34.2c0,0.5-0.4,1-1,1c-0.5,0-1-0.4-1-1V22.6c0-0.5,0.4-1,1-1%20c0.5,0,1,0.4,1,1V34.2z'/%3e%3c/svg%3e");width:24px!important;height:24px!important;z-index:10000;margin-left:-11px!important;margin-top:-11px!important}.polygon-marker.hole{background-color:#fcc;box-shadow:0 0 0 2px #a00,0 0 10px #00000059;width:12px!important;height:12px!important;margin-left:-6px!important;margin-top:-6px!important;border-radius:50%;cursor:move;outline:none;transition:background-color .25s}.polygon-marker.hole:hover{background-color:#d4a5b8;width:18px!important;height:18px!important;margin-left:-9px!important;margin-top:-9px!important}.marker-menu-inner-wrapper{display:flex;flex-direction:column}.marker-menu-header{font-weight:600}.marker-menu-content{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:0;max-width:132px}@supports (display: grid){.marker-menu-content{display:grid;grid-template-columns:repeat(3,minmax(22px,1fr));justify-items:center;align-items:center;column-gap:8px;row-gap:6px}}.marker-menu-content .marker-menu-button{width:22px;height:22px;background-repeat:no-repeat;background-size:22px,22px;background-position:center;padding:4px;border:1px solid #fff;margin:4px;border-radius:4px;cursor:pointer}.marker-menu-content .marker-menu-button.simplify{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3c!--%20Cirklar%20--%3e%3ccircle%20cx='64'%20cy='448'%20r='50'%20style='fill:%23ffffff;stroke:none;fill-opacity:1'/%3e%3ccircle%20cx='64'%20cy='64'%20r='50'%20style='fill:%23ffffff;stroke:none;fill-opacity:1'/%3e%3ccircle%20cx='64'%20cy='256'%20r='50'%20style='fill:%23ffffff;stroke:none;fill-opacity:1'/%3e%3ccircle%20cx='448'%20cy='256'%20r='50'%20style='fill:%23ffffff;stroke:none;fill-opacity:1'/%3e%3c!--%20Linjer%20--%3e%3cpath%20d='M64%2064%20L448%20256%20H64'%20style='fill:none;stroke:%23ffffff;stroke-width:35;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none'/%3e%3cpath%20d='M448%20256%20L64%20448'%20style='fill:none;stroke:%23ffffff;stroke-width:35;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none'/%3e%3c/svg%3e")}.marker-menu-content .marker-menu-button.double-elbows{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%3e%3cpath%20d='M100%20412%20L412%20100'%20style='fill:none;stroke:%23ffffff;stroke-opacity:1;stroke-width:35;stroke-dasharray:none'/%3e%3ccircle%20cx='100'%20cy='412'%20r='40'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-width:25;stroke-opacity:1'/%3e%3ccircle%20cx='416.5'%20cy='91.5'%20r='40'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-width:25;stroke-opacity:1'/%3e%3ccircle%20cx='253.799'%20cy='254.421'%20r='70'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-width:25;stroke-opacity:1'/%3e%3c/svg%3e")}.marker-menu-content .marker-menu-button.bbox{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3c!--%20Cirklar%20i%20hörnen%20--%3e%3ccircle%20cx='64'%20cy='448'%20r='50'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-opacity:1'/%3e%3ccircle%20cx='64'%20cy='64'%20r='50'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-opacity:1'/%3e%3ccircle%20cx='448'%20cy='448'%20r='50'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-opacity:1'/%3e%3ccircle%20cx='448'%20cy='64'%20r='50'%20style='fill:%23ffffff;stroke:%23ffffff;stroke-opacity:1'/%3e%3c!--%20Fyrkantig%20ram%20--%3e%3cpath%20d='M64%2064%20H448%20M448%2064%20V448%20H64%20V64'%20style='fill:none;stroke:%23ffffff;stroke-width:35;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none'/%3e%3c/svg%3e")}.marker-menu-content .marker-menu-button.bezier{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20xml:space='preserve'%20style='enable-background:new%200%200%2040%2040;'%20viewBox='0%200%2040%2040'%20y='0px'%20x='0px'%20id='Layer_1'%20version='1.1'%20sodipodi:docname='icon-bezier.svg'%20inkscape:version='0.92.3%20(2405546,%202018-03-11)'%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='1440'%20inkscape:window-height='837'%20id='namedview11'%20showgrid='false'%20showguides='true'%20inkscape:guide-bbox='true'%20inkscape:zoom='11.8'%20inkscape:cx='19.585579'%20inkscape:cy='18.314137'%20inkscape:window-x='-8'%20inkscape:window-y='-8'%20inkscape:window-maximized='1'%20inkscape:current-layer='Layer_1'%3e%3csodipodi:guide%20position='5,39.40678'%20orientation='1,0'%20id='guide4521'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3csodipodi:guide%20position='35,35.169492'%20orientation='1,0'%20id='guide4523'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3csodipodi:guide%20position='18.389831,35'%20orientation='0,1'%20id='guide4525'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3csodipodi:guide%20position='20.423729,5'%20orientation='0,1'%20id='guide4527'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3csodipodi:guide%20position='20,25.762712'%20orientation='1,0'%20id='guide4533'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3csodipodi:guide%20position='27.372881,20'%20orientation='0,1'%20id='guide4535'%20inkscape:locked='false'%20inkscape:label=''%20inkscape:color='rgb(0,0,255)'%20/%3e%3c/sodipodi:namedview%3e%3cmetadata%20id='metadata9'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%3e%3c/dc:title%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs7'%3e%3cmarker%20inkscape:stockid='Tail'%20orient='auto'%20refY='0.0'%20refX='0.0'%20id='Tail'%20style='overflow:visible'%20inkscape:isstock='true'%3e%3cg%20id='g4585'%20transform='scale(-1.2)'%20style='stroke:%23000000;stroke-opacity:1;fill:%23ffffff;fill-opacity:1'%3e%3cpath%20id='path4573'%20d='M%20-3.8048674,-3.9585227%20L%200.54352094,0'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3cpath%20id='path4575'%20d='M%20-1.2866832,-3.9585227%20L%203.0617053,0'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3cpath%20id='path4577'%20d='M%201.3053582,-3.9585227%20L%205.6537466,0'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3cpath%20id='path4579'%20d='M%20-3.8048674,4.1775838%20L%200.54352094,0.21974226'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3cpath%20id='path4581'%20d='M%20-1.2866832,4.1775838%20L%203.0617053,0.21974226'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3cpath%20id='path4583'%20d='M%201.3053582,4.1775838%20L%205.6537466,0.21974226'%20style='fill:%23ffffff;fill-rule:evenodd;stroke:%23000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1'%20/%3e%3c/g%3e%3c/marker%3e%3c/defs%3e%3cpath%20style='fill:none;stroke:%23ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none'%20d='M%205,35%20C%2035,35%2035,5%2035,5%20v%200'%20id='path4894'%20inkscape:connector-curvature='0'%20/%3e%3cpath%20style='fill:none;stroke:%23fffffe;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:2,%202;stroke-dashoffset:0'%20d='m%2035,4.830508%20v%200%20c%200,0%200,0%200,30.169492%20H%205'%20id='path4896'%20inkscape:connector-curvature='0'%20/%3e%3ccircle%20r='4'%20cy='35.169491'%20cx='34.830509'%20id='path819-25-9-8'%20style='fill:%23ffffff;fill-opacity:1;stroke:%23ffffff;stroke-opacity:1'%20/%3e%3ccircle%20r='4'%20cy='5.5932202'%20cx='34.915257'%20id='path819-25-9'%20style='fill:%23ffffff;fill-opacity:1;stroke:%23ffffff;stroke-opacity:1'%20/%3e%3ccircle%20r='4'%20cy='35'%20cx='5'%20id='path819'%20style='fill:%23ffffff;fill-opacity:1;stroke:%23ffffff;stroke-opacity:1'%20/%3e%3c/svg%3e");position:relative;overflow:hidden}.marker-menu-content .marker-menu-button.transform-scale{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%20viewBox='0%200%2024%2024'%3e%3cg%20fill='none'%3e%3cpath%20stroke='white'%20stroke-linecap='round'%20stroke-width='2'%20d='M3%209V6a3%203%200%200%201%203-3h12a3%203%200%200%201%203%203v12a3%203%200%200%201-3%203h-3'/%3e%3cpath%20fill='white'%20d='M16%208V7h1v1zm-5.793%207.207a1%201%200%200%201-1.414-1.414zM15%2014V8h2v6zm1-5h-6V7h6zm.707-.293l-6.5%206.5l-1.414-1.414l6.5-6.5z'/%3e%3crect%20width='7'%20height='7'%20x='3'%20y='14'%20stroke='white'%20stroke-linecap='round'%20stroke-width='2'%20rx='2'/%3e%3c/g%3e%3c/svg%3e")}.marker-menu-content .marker-menu-button.transform-rotate{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='200'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill='none'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='1.5'%20d='M11.25%205.25h3m0%203.5c0%202.5-2.798%205.5-6.25%205.5a6.25%206.25%200%201%201%200-12.5c3.75%200%206.25%203.5%206.25%203.5v-3.5'/%3e%3c/svg%3e")}.marker-menu-button{padding:4px;border:1px solid #aaaaaa}.marker-menu-separator{padding:4px}.info-marker,.alter-marker{background-color:#00f;width:100%;display:flex;flex-direction:row-reverse}.info-marker a.leaflet-popup-close-button,.alter-marker a.leaflet-popup-close-button{top:-12px;right:-12.5px;z-index:3;color:#fff}.info-marker a.leaflet-popup-close-button:hover,.alter-marker a.leaflet-popup-close-button:hover{color:#fff}.info-marker .leaflet-popup-content-wrapper,.alter-marker .leaflet-popup-content-wrapper{background:#e93434;color:#fff}.info-marker .leaflet-popup-content-wrapper .leaflet-popup-content,.alter-marker .leaflet-popup-content-wrapper .leaflet-popup-content{margin:0;line-height:1.4}.info-marker .leaflet-popup-content-wrapper,.alter-marker .leaflet-popup-content-wrapper{padding:0}.alter-marker-outer-wrapper,.info-marker-outer-wrapper{overflow:hidden;background-color:#80be50;border-radius:12px;box-shadow:3px 4px 20px #00000080}.alter-marker-wrapper,.info-marker-wrapper{min-height:40px;border:2px solid transparent;background-color:#80be50;color:#fff;padding:0 6px;border-radius:12px;text-align:center;position:relative}.content{width:auto;min-height:40px;margin-right:12px;display:flex;align-items:center}.marker-menu-close{position:absolute;top:0;right:0;width:24px;height:24px;padding:0;border:none;background:transparent;color:#fff;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;pointer-events:auto;z-index:5}.marker-menu-close:focus{outline:2px solid #fff8;outline-offset:2px}.polydraw-transform-cancel,.polydraw-transform-confirm{width:24px;height:24px;border-radius:3px;pointer-events:auto;cursor:pointer;display:flex;align-items:center;justify-content:center}.alpha-banner{position:absolute;top:6px;right:-18px;background:#fff6;color:#000;padding:1px 20px;font-size:8px;font-weight:700;transform:rotate(45deg);transform-origin:center;z-index:10;box-shadow:0 1px 3px #0000004d;line-height:12px;letter-spacing:.5px}.alter-marker-wrapper .row.bottom-separator{border-bottom:1px dashed #fff}.alter-marker-wrapper .row{display:-webkit-box;display:flex;white-space:nowrap}.alter-marker-wrapper .header{padding-right:4px;width:100%;text-align:left}.alter-marker-wrapper .area,.alter-marker-wrapper .header{font-size:12px;font-weight:600;line-height:20px}.alter-marker-wrapper .unit{font-size:11px;font-weight:400;line-height:20px}.alter-marker-wrapper .unit .sup{font-size:smaller;font-weight:400;line-height:20px;position:relative;top:-2px}.info-marker-wrapper .row.bottom-separator{border-bottom:1px dashed #fff}.info-marker-wrapper .row{display:-webkit-box;display:flex;white-space:nowrap}.info-marker-wrapper .header{padding-right:4px;width:100%;text-align:left}.info-marker-wrapper .area,.info-marker-wrapper .header{font-size:12px;font-weight:600;line-height:20px}.info-marker-wrapper .unit{font-size:11px;font-weight:400;line-height:20px}.info-marker-wrapper .unit .sup{font-size:smaller;font-weight:400;line-height:20px;position:relative;top:-2px}.leaflet-popup-content{margin:0!important;line-height:1.4}.right-margin{margin-right:8px}.polydraw-hidden-marker{opacity:.2;transform:scale(.5);transition:opacity .2s ease,transform .2s ease;background-color:#e0f8c5!important;box-shadow:none!important;border:none!important;z-index:1}.polydraw-hidden-marker:hover{opacity:1!important;transform:scale(1)!important;background-color:#e0f8c5!important;box-shadow:0 0 0 2px #50622b,0 0 10px #00000059!important;border-radius:50%!important;z-index:10000!important}.polydraw-hidden-marker.leaflet-marker-draggable{cursor:move!important}.leaflet-polydraw-p2p-marker{margin-left:-8px;margin-top:-8px}.leaflet-polydraw-p2p-marker.edge-deletion-hover{background-color:#d9460f!important;border-color:#d9460f!important;transform:scale(1.5);transition:all .2s ease}.menu-popup{margin-bottom:-60px}.info-popup{margin-bottom:-18px}.menu-popup .leaflet-popup-tip-container,.info-popup .leaflet-popup-tip-container{display:none}.menu-popup .leaflet-popup-content-wrapper,.info-popup .leaflet-popup-content-wrapper{background:transparent;box-shadow:none}.menu-popup .leaflet-popup-close-button,.info-popup .leaflet-popup-close-button{color:#fff!important}.leaflet-control.leaflet-bar{position:relative;z-index:1000;pointer-events:auto!important}.leaflet-control.leaflet-bar a{pointer-events:auto!important;touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-moz-document url-prefix(){.leaflet-control.leaflet-bar{position:relative!important;z-index:2000!important;pointer-events:auto!important;isolation:isolate}.leaflet-control.leaflet-bar a{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:1}.sub-buttons{pointer-events:auto!important;position:relative;z-index:1}.sub-buttons a{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:1}}@media (max-width: 768px){.leaflet-control.leaflet-bar a{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center}}
@@ -19430,6 +19430,10 @@ class TransformOverlay {
19430
19430
  __publicField(this, "pane");
19431
19431
  __publicField(this, "root");
19432
19432
  __publicField(this, "draggingHandle", null);
19433
+ __publicField(this, "documentMoveHandler", null);
19434
+ __publicField(this, "documentUpHandler", null);
19435
+ __publicField(this, "pointerCaptureTarget", null);
19436
+ __publicField(this, "activePointerId", null);
19433
19437
  __publicField(this, "callbacks");
19434
19438
  __publicField(this, "rafId", null);
19435
19439
  __publicField(this, "mode");
@@ -19439,6 +19443,8 @@ class TransformOverlay {
19439
19443
  __publicField(this, "confirmBtn", null);
19440
19444
  __publicField(this, "currentBBox", null);
19441
19445
  __publicField(this, "currentRotation", 0);
19446
+ __publicField(this, "buttonsHidden", false);
19447
+ __publicField(this, "supportsPointerEvents", typeof window !== "undefined" && "PointerEvent" in window);
19442
19448
  this.map = map;
19443
19449
  this.callbacks = callbacks;
19444
19450
  this.mode = mode;
@@ -19448,13 +19454,14 @@ class TransformOverlay {
19448
19454
  let pane = this.map.getPane ? this.map.getPane(paneName) : void 0;
19449
19455
  if (!pane) pane = this.map.createPane(paneName);
19450
19456
  pane.style.zIndex = "650";
19451
- pane.style.pointerEvents = "none";
19457
+ pane.style.pointerEvents = "auto";
19452
19458
  this.pane = pane;
19453
19459
  this.root = document.createElement("div");
19454
19460
  this.root.className = "polydraw-transform-root";
19455
19461
  this.root.style.position = "absolute";
19456
19462
  this.root.style.left = "0px";
19457
19463
  this.root.style.top = "0px";
19464
+ this.root.style.pointerEvents = "none";
19458
19465
  this.pane.appendChild(this.root);
19459
19466
  }
19460
19467
  destroy() {
@@ -19524,10 +19531,30 @@ class TransformOverlay {
19524
19531
  background: "#2b90d9",
19525
19532
  boxShadow: "0 0 0 1px #fff",
19526
19533
  cursor: this.cursorForHandle(type),
19527
- pointerEvents: "auto"
19534
+ pointerEvents: "auto",
19535
+ touchAction: "none"
19528
19536
  });
19529
- L$1.DomEvent.on(h, "mousedown", (e) => this.startDrag(type, { x: rotX, y: rotY }, e));
19530
- L$1.DomEvent.on(h, "touchstart", (e) => this.startDrag(type, { x: rotX, y: rotY }, e));
19537
+ if (this.supportsPointerEvents) {
19538
+ L$1.DomEvent.on(
19539
+ h,
19540
+ "pointerdown",
19541
+ (e) => this.startDrag(type, { x: rotX, y: rotY }, e),
19542
+ this
19543
+ );
19544
+ } else {
19545
+ L$1.DomEvent.on(
19546
+ h,
19547
+ "mousedown",
19548
+ (e) => this.startDrag(type, { x: rotX, y: rotY }, e),
19549
+ this
19550
+ );
19551
+ L$1.DomEvent.on(
19552
+ h,
19553
+ "touchstart",
19554
+ (e) => this.startDrag(type, { x: rotX, y: rotY }, e),
19555
+ this
19556
+ );
19557
+ }
19531
19558
  this.root.appendChild(h);
19532
19559
  };
19533
19560
  if (this.mode === "scale") {
@@ -19577,18 +19604,45 @@ class TransformOverlay {
19577
19604
  }
19578
19605
  startDrag(type, start, evt) {
19579
19606
  var _a2, _b2;
19580
- (_a2 = evt.stopPropagation) == null ? void 0 : _a2.call(evt);
19581
- (_b2 = evt.preventDefault) == null ? void 0 : _b2.call(evt);
19607
+ L$1.DomEvent.stop(evt);
19582
19608
  this.draggingHandle = type;
19583
- if (type === TransformHandleType.Rotate && this.mode === "rotate") {
19584
- this.hideButtons();
19585
- }
19586
- const onMove = (e) => this.onDrag(e);
19587
- const onUp = (e) => this.endDrag(e);
19588
- L$1.DomEvent.on(document, "mousemove", onMove);
19589
- L$1.DomEvent.on(document, "mouseup", onUp);
19590
- L$1.DomEvent.on(document, "touchmove", onMove);
19591
- L$1.DomEvent.on(document, "touchend", onUp);
19609
+ this.hideButtons();
19610
+ this.documentMoveHandler = (e) => this.onDrag(e);
19611
+ this.documentUpHandler = (e) => this.endDrag(e);
19612
+ if (this.supportsPointerEvents && evt instanceof PointerEvent) {
19613
+ this.activePointerId = evt.pointerId;
19614
+ this.pointerCaptureTarget = this.map.getContainer();
19615
+ (_b2 = (_a2 = this.pointerCaptureTarget) == null ? void 0 : _a2.setPointerCapture) == null ? void 0 : _b2.call(_a2, evt.pointerId);
19616
+ L$1.DomEvent.on(
19617
+ document,
19618
+ "pointermove",
19619
+ this.documentMoveHandler
19620
+ );
19621
+ L$1.DomEvent.on(document, "pointerup", this.documentUpHandler);
19622
+ L$1.DomEvent.on(
19623
+ document,
19624
+ "pointercancel",
19625
+ this.documentUpHandler
19626
+ );
19627
+ } else {
19628
+ L$1.DomEvent.on(
19629
+ document,
19630
+ "mousemove",
19631
+ this.documentMoveHandler
19632
+ );
19633
+ L$1.DomEvent.on(document, "mouseup", this.documentUpHandler);
19634
+ L$1.DomEvent.on(
19635
+ document,
19636
+ "touchmove",
19637
+ this.documentMoveHandler
19638
+ );
19639
+ L$1.DomEvent.on(document, "touchend", this.documentUpHandler);
19640
+ L$1.DomEvent.on(
19641
+ document,
19642
+ "touchcancel",
19643
+ this.documentUpHandler
19644
+ );
19645
+ }
19592
19646
  this.callbacks.onStartHandleDrag(type, start, evt);
19593
19647
  }
19594
19648
  onDrag(evt) {
@@ -19597,21 +19651,101 @@ class TransformOverlay {
19597
19651
  this.callbacks.onDragHandle(this.draggingHandle, pos, evt);
19598
19652
  }
19599
19653
  endDrag(evt) {
19654
+ var _a2, _b2;
19600
19655
  if (this.draggingHandle == null) return;
19601
19656
  const type = this.draggingHandle;
19602
- const wasRotateDrag = type === TransformHandleType.Rotate && this.mode === "rotate";
19603
19657
  this.draggingHandle = null;
19604
19658
  const pos = this.getMouseLayerPoint(evt);
19605
19659
  this.callbacks.onEndHandleDrag(type, pos, evt);
19606
- if (wasRotateDrag && this.currentBBox) {
19660
+ if (this.currentBBox) {
19607
19661
  this.updateButtonPositions(this.currentBBox, this.currentRotation);
19608
- this.showButtons();
19609
19662
  }
19610
- L$1.DomEvent.off(document, "mousemove", this.onDrag);
19611
- L$1.DomEvent.off(document, "touchmove", this.onDrag);
19663
+ this.showButtons();
19664
+ if (this.documentMoveHandler || this.documentUpHandler) {
19665
+ if (this.supportsPointerEvents && this.pointerCaptureTarget) {
19666
+ if (this.activePointerId != null) {
19667
+ (_b2 = (_a2 = this.pointerCaptureTarget).releasePointerCapture) == null ? void 0 : _b2.call(_a2, this.activePointerId);
19668
+ }
19669
+ if (this.documentMoveHandler) {
19670
+ L$1.DomEvent.off(
19671
+ document,
19672
+ "pointermove",
19673
+ this.documentMoveHandler
19674
+ );
19675
+ }
19676
+ if (this.documentUpHandler) {
19677
+ L$1.DomEvent.off(
19678
+ document,
19679
+ "pointerup",
19680
+ this.documentUpHandler
19681
+ );
19682
+ L$1.DomEvent.off(
19683
+ document,
19684
+ "pointercancel",
19685
+ this.documentUpHandler
19686
+ );
19687
+ }
19688
+ this.pointerCaptureTarget = null;
19689
+ this.activePointerId = null;
19690
+ } else {
19691
+ if (this.documentMoveHandler) {
19692
+ L$1.DomEvent.off(
19693
+ document,
19694
+ "mousemove",
19695
+ this.documentMoveHandler
19696
+ );
19697
+ L$1.DomEvent.off(
19698
+ document,
19699
+ "touchmove",
19700
+ this.documentMoveHandler
19701
+ );
19702
+ }
19703
+ if (this.documentUpHandler) {
19704
+ L$1.DomEvent.off(
19705
+ document,
19706
+ "mouseup",
19707
+ this.documentUpHandler
19708
+ );
19709
+ L$1.DomEvent.off(
19710
+ document,
19711
+ "touchend",
19712
+ this.documentUpHandler
19713
+ );
19714
+ L$1.DomEvent.off(
19715
+ document,
19716
+ "touchcancel",
19717
+ this.documentUpHandler
19718
+ );
19719
+ }
19720
+ }
19721
+ this.documentMoveHandler = null;
19722
+ this.documentUpHandler = null;
19723
+ }
19612
19724
  }
19613
19725
  getMouseLayerPoint(evt) {
19614
- const containerPoint = this.map.mouseEventToContainerPoint ? this.map.mouseEventToContainerPoint(evt) : leafletAdapter.domEvent.getMousePosition(evt, this.map.getContainer());
19726
+ const container = this.map.getContainer();
19727
+ let clientX = null;
19728
+ let clientY = null;
19729
+ if (evt.touches && evt.touches.length > 0) {
19730
+ const touch = evt.touches[0];
19731
+ clientX = touch.clientX;
19732
+ clientY = touch.clientY;
19733
+ } else if (evt.changedTouches && evt.changedTouches.length > 0) {
19734
+ const touch = evt.changedTouches[0];
19735
+ clientX = touch.clientX;
19736
+ clientY = touch.clientY;
19737
+ } else if (evt.clientX != null) {
19738
+ clientX = evt.clientX;
19739
+ clientY = evt.clientY;
19740
+ }
19741
+ if (clientX == null || clientY == null) {
19742
+ clientX = 0;
19743
+ clientY = 0;
19744
+ }
19745
+ const rect = container.getBoundingClientRect();
19746
+ const x = clientX - rect.left;
19747
+ const y = clientY - rect.top;
19748
+ const containerPoint = leafletAdapter.createPoint(x, y);
19615
19749
  const layerPoint = this.map.containerPointToLayerPoint(containerPoint);
19616
19750
  return { x: layerPoint.x, y: layerPoint.y };
19617
19751
  }
@@ -19670,6 +19804,12 @@ class TransformOverlay {
19670
19804
  (_b2 = e.preventDefault) == null ? void 0 : _b2.call(e);
19671
19805
  this.onCancel && this.onCancel();
19672
19806
  });
19807
+ L$1.DomEvent.on(this.cancelBtn, "pointerdown", (e) => {
19808
+ var _a2, _b2;
19809
+ (_a2 = e.stopPropagation) == null ? void 0 : _a2.call(e);
19810
+ (_b2 = e.preventDefault) == null ? void 0 : _b2.call(e);
19811
+ this.onCancel && this.onCancel();
19812
+ });
19673
19813
  this.root.appendChild(this.cancelBtn);
19674
19814
  }
19675
19815
  if (this.onConfirm && !this.confirmBtn) {
@@ -19688,30 +19828,60 @@ class TransformOverlay {
19688
19828
  (_b2 = e.preventDefault) == null ? void 0 : _b2.call(e);
19689
19829
  this.onConfirm && this.onConfirm();
19690
19830
  });
19831
+ L$1.DomEvent.on(this.confirmBtn, "pointerdown", (e) => {
19832
+ var _a2, _b2;
19833
+ (_a2 = e.stopPropagation) == null ? void 0 : _a2.call(e);
19834
+ (_b2 = e.preventDefault) == null ? void 0 : _b2.call(e);
19835
+ this.onConfirm && this.onConfirm();
19836
+ });
19691
19837
  this.root.appendChild(this.confirmBtn);
19692
19838
  }
19693
19839
  if (this.cancelBtn) {
19694
19840
  Object.assign(this.cancelBtn.style, {
19695
19841
  position: "absolute",
19696
19842
  left: `${cancelX}px`,
19697
- top: `${buttonY}px`
19843
+ top: `${buttonY}px`,
19844
+ display: "grid",
19845
+ placeItems: "center",
19846
+ pointerEvents: "auto",
19847
+ width: "28px",
19848
+ height: "28px"
19698
19849
  });
19850
+ const svg = this.cancelBtn.querySelector("svg");
19851
+ if (svg) {
19852
+ svg.setAttribute("width", "24");
19853
+ svg.setAttribute("height", "24");
19854
+ }
19855
+ this.cancelBtn.style.display = this.buttonsHidden ? "none" : "grid";
19699
19856
  }
19700
19857
  if (this.confirmBtn) {
19701
19858
  Object.assign(this.confirmBtn.style, {
19702
19859
  position: "absolute",
19703
19860
  left: `${confirmX}px`,
19704
- top: `${buttonY}px`
19861
+ top: `${buttonY}px`,
19862
+ display: "grid",
19863
+ placeItems: "center",
19864
+ pointerEvents: "auto",
19865
+ width: "28px",
19866
+ height: "28px"
19705
19867
  });
19868
+ const svg = this.confirmBtn.querySelector("svg");
19869
+ if (svg) {
19870
+ svg.setAttribute("width", "24");
19871
+ svg.setAttribute("height", "24");
19872
+ }
19873
+ this.confirmBtn.style.display = this.buttonsHidden ? "none" : "grid";
19706
19874
  }
19707
19875
  }
19708
19876
  hideButtons() {
19877
+ this.buttonsHidden = true;
19709
19878
  if (this.cancelBtn) this.cancelBtn.style.display = "none";
19710
19879
  if (this.confirmBtn) this.confirmBtn.style.display = "none";
19711
19880
  }
19712
19881
  showButtons() {
19713
- if (this.cancelBtn) this.cancelBtn.style.display = "";
19714
- if (this.confirmBtn) this.confirmBtn.style.display = "";
19882
+ this.buttonsHidden = false;
19883
+ if (this.cancelBtn) this.cancelBtn.style.display = "grid";
19884
+ if (this.confirmBtn) this.confirmBtn.style.display = "grid";
19715
19885
  }
19716
19886
  }
19717
19887
  function latLngToPixel(map, ll) {
@@ -19828,6 +19998,7 @@ class PolygonTransformController {
19828
19998
  __publicField(this, "onExit");
19829
19999
  __publicField(this, "rotateStartAngle", null);
19830
20000
  __publicField(this, "rotateBaseRotation", 0);
20001
+ __publicField(this, "originalTouchAction", null);
19831
20002
  __publicField(this, "onKeyDown", (e) => {
19832
20003
  if (e.key === "Escape") {
19833
20004
  this.handleCancel();
@@ -19888,6 +20059,9 @@ class PolygonTransformController {
19888
20059
  }
19889
20060
  dragging.disable();
19890
20061
  }
20062
+ const container = this.map.getContainer();
20063
+ this.originalTouchAction = container.style.touchAction || null;
20064
+ container.style.touchAction = "none";
19891
20065
  document.addEventListener("keydown", this.onKeyDown);
19892
20066
  }
19893
20067
  destroy() {
@@ -19901,6 +20075,12 @@ class PolygonTransformController {
19901
20075
  dragging.enable();
19902
20076
  }
19903
20077
  }
20078
+ const container = this.map.getContainer();
20079
+ if (this.originalTouchAction !== null) {
20080
+ container.style.touchAction = this.originalTouchAction;
20081
+ } else {
20082
+ container.style.touchAction = "";
20083
+ }
19904
20084
  }
19905
20085
  onStartDrag(type, start, evt) {
19906
20086
  const isMac = navigator.userAgent.toLowerCase().includes("mac");
@@ -20060,6 +20240,12 @@ class PopupFactory {
20060
20240
  outerWrapper.classList.add("alter-marker-outer-wrapper");
20061
20241
  const wrapper = document.createElement("div");
20062
20242
  wrapper.classList.add("alter-marker-wrapper");
20243
+ const closeButton = document.createElement("button");
20244
+ closeButton.type = "button";
20245
+ closeButton.className = "marker-menu-close";
20246
+ closeButton.setAttribute("aria-label", "Close menu");
20247
+ closeButton.innerHTML = "×";
20248
+ wrapper.appendChild(closeButton);
20063
20249
  const markerContent = document.createElement("div");
20064
20250
  markerContent.classList.add("content");
20065
20251
  const markerContentWrapper = document.createElement("div");
@@ -20109,6 +20295,7 @@ class PolygonInteractionManager {
20109
20295
  __publicField(this, "_openMenuPopup", null);
20110
20296
  __publicField(this, "transformModeActive", false);
20111
20297
  __publicField(this, "transformControllers", /* @__PURE__ */ new WeakMap());
20298
+ __publicField(this, "deleteMarkerSuppressUntil", 0);
20112
20299
  // Read-only access to feature groups
20113
20300
  __publicField(this, "getFeatureGroups");
20114
20301
  __publicField(this, "removeFeatureGroup");
@@ -20199,6 +20386,18 @@ class PolygonInteractionManager {
20199
20386
  emitPolygonUpdated(data) {
20200
20387
  this.eventManager.emit("polydraw:polygon:updated", data);
20201
20388
  }
20389
+ getTimestamp() {
20390
+ if (typeof performance !== "undefined" && typeof performance.now === "function") {
20391
+ return performance.now();
20392
+ }
20393
+ return Date.now();
20394
+ }
20395
+ shouldSuppressDeleteMarkerClick() {
20396
+ return this.getTimestamp() < this.deleteMarkerSuppressUntil;
20397
+ }
20398
+ suppressDeleteMarkerClicks(durationMs) {
20399
+ this.deleteMarkerSuppressUntil = this.getTimestamp() + Math.max(0, durationMs);
20400
+ }
20202
20401
  /**
20203
20402
  * Add markers to a polygon feature group
20204
20403
  */
@@ -20394,6 +20593,7 @@ class PolygonInteractionManager {
20394
20593
  this._activeMarker = marker;
20395
20594
  });
20396
20595
  marker.on("click", (e) => {
20596
+ var _a2, _b2;
20397
20597
  if (this.modeManager.isInOffMode()) {
20398
20598
  if (this.isEdgeDeletionModifierKeyPressed(e.originalEvent)) {
20399
20599
  const polygonLayer = featureGroup.getLayers().find((layer) => layer instanceof L$1.Polygon);
@@ -20402,6 +20602,12 @@ class PolygonInteractionManager {
20402
20602
  }
20403
20603
  } else {
20404
20604
  if (i === deleteMarkerIdx && this.config.markers.deleteMarker) {
20605
+ if (this.shouldSuppressDeleteMarkerClick()) {
20606
+ const original = e.originalEvent;
20607
+ (_a2 = original == null ? void 0 : original.preventDefault) == null ? void 0 : _a2.call(original);
20608
+ (_b2 = original == null ? void 0 : original.stopPropagation) == null ? void 0 : _b2.call(original);
20609
+ return;
20610
+ }
20405
20611
  this.map.closePopup();
20406
20612
  this.removeFeatureGroup(featureGroup);
20407
20613
  this.polygonInformation.createPolygonInformationStorage(this.getFeatureGroups());
@@ -21649,6 +21855,21 @@ class PolygonInteractionManager {
21649
21855
  buttons.push(PopupFactory.createMenuButton("rotate", "Rotate", ["transform-rotate"]));
21650
21856
  }
21651
21857
  const outerWrapper = PopupFactory.buildMenuPopup(buttons);
21858
+ const closeBtn = outerWrapper.querySelector(".marker-menu-close");
21859
+ if (closeBtn) {
21860
+ const handleClose = (event) => {
21861
+ event.stopPropagation();
21862
+ event.preventDefault();
21863
+ if (this._openMenuPopup) {
21864
+ this.map.closePopup(this._openMenuPopup);
21865
+ this._openMenuPopup = null;
21866
+ } else {
21867
+ this.map.closePopup();
21868
+ }
21869
+ };
21870
+ closeBtn.addEventListener("click", handleClose);
21871
+ closeBtn.addEventListener("touchend", handleClose, { passive: false });
21872
+ }
21652
21873
  const closePopupIfOpen = () => {
21653
21874
  if (this._openMenuPopup) {
21654
21875
  this.map.closePopup(this._openMenuPopup);
@@ -21750,7 +21971,7 @@ class PolygonInteractionManager {
21750
21971
  });
21751
21972
  const isMobile = window.innerWidth <= 600;
21752
21973
  const popup = leafletAdapter.createPopup({
21753
- closeButton: true,
21974
+ closeButton: false,
21754
21975
  autoClose: true,
21755
21976
  className: `menu-popup${isMobile ? " mobile-popup" : ""}`
21756
21977
  }).setContent(outerWrapper);
@@ -22117,6 +22338,7 @@ class PolygonMutationManager {
22117
22338
  }
22118
22339
  polygon2._polydrawOptimizationLevel = visualOptimizationLevel;
22119
22340
  featureGroup.addLayer(polygon2);
22341
+ this.interactionManager.suppressDeleteMarkerClicks(250);
22120
22342
  } catch (error) {
22121
22343
  return { success: false, error: "Failed to create polygon layer" };
22122
22344
  }
@@ -23194,6 +23416,7 @@ class Polydraw extends L$1.Control {
23194
23416
  __publicField(this, "_boundPointerUp");
23195
23417
  __publicField(this, "_lastTapTime", 0);
23196
23418
  __publicField(this, "_tapTimeout", null);
23419
+ __publicField(this, "pointerEventsHandled", typeof window !== "undefined" && "PointerEvent" in window && LeafletVersionDetector.isV2());
23197
23420
  /**
23198
23421
  * Updates map interactions based on the current drawing mode.
23199
23422
  */
@@ -23789,7 +24012,6 @@ class Polydraw extends L$1.Control {
23789
24012
  * @param onoff - A boolean indicating whether to attach or detach the events.
23790
24013
  */
23791
24014
  drawStartedEvents(onoff) {
23792
- console.log("drawStartedEvents called with onoff:", onoff);
23793
24015
  const onoroff = onoff ? "on" : "off";
23794
24016
  this.map[onoroff]("mousemove", this.mouseMove, this);
23795
24017
  this.map[onoroff]("mouseup", this.mouseUpLeave, this);
@@ -23859,10 +24081,12 @@ class Polydraw extends L$1.Control {
23859
24081
  this._lastTapTime = 0;
23860
24082
  } else {
23861
24083
  this._lastTapTime = currentTime;
23862
- this._tapTimeout = window.setTimeout(() => {
23863
- this.mouseDown(event);
23864
- this._tapTimeout = null;
23865
- }, 300);
24084
+ if (!this.pointerEventsHandled) {
24085
+ this._tapTimeout = window.setTimeout(() => {
24086
+ this.mouseDown(event);
24087
+ this._tapTimeout = null;
24088
+ }, 300);
24089
+ }
23866
24090
  }
23867
24091
  }
23868
24092
  /**
@@ -23880,27 +24104,21 @@ class Polydraw extends L$1.Control {
23880
24104
  * @param event - The mouse, touch, or pointer event.
23881
24105
  */
23882
24106
  mouseDown(event) {
23883
- console.log("mouseDown called", event.type, event);
23884
24107
  const normalizedEvent = EventAdapter.normalizeEvent(event);
23885
24108
  if (EventAdapter.shouldPreventDefault(normalizedEvent)) {
23886
24109
  normalizedEvent.preventDefault();
23887
24110
  }
23888
24111
  if (this.modeManager.isInOffMode()) {
23889
- console.log("In off mode, ignoring");
23890
24112
  return;
23891
24113
  }
23892
24114
  const clickLatLng = EventAdapter.extractCoordinates(normalizedEvent, this.map);
23893
- console.log("Extracted coordinates:", clickLatLng);
23894
24115
  if (!clickLatLng) {
23895
- console.log("No coordinates extracted");
23896
24116
  return;
23897
24117
  }
23898
24118
  if (this.modeManager.getCurrentMode() === DrawMode.PointToPoint || this.modeManager.getCurrentMode() === DrawMode.PointToPointSubtract) {
23899
- console.log("Point-to-Point mode, calling handlePointToPointClick");
23900
24119
  this.polygonDrawManager.handlePointToPointClick(clickLatLng);
23901
24120
  return;
23902
24121
  }
23903
- console.log("Normal drawing mode, setting tracer and starting draw");
23904
24122
  this.tracer.setLatLngs([clickLatLng]);
23905
24123
  this.startDraw();
23906
24124
  }
@@ -23909,14 +24127,12 @@ class Polydraw extends L$1.Control {
23909
24127
  * @param event - The mouse, touch, or pointer event.
23910
24128
  */
23911
24129
  mouseMove(event) {
23912
- console.log("mouseMove called", event.type);
23913
24130
  const normalizedEvent = EventAdapter.normalizeEvent(event);
23914
24131
  if (EventAdapter.shouldPreventDefault(normalizedEvent)) {
23915
24132
  normalizedEvent.preventDefault();
23916
24133
  }
23917
24134
  const latlng = EventAdapter.extractCoordinates(normalizedEvent, this.map);
23918
24135
  if (latlng) {
23919
- console.log("Adding latlng to tracer:", latlng);
23920
24136
  this.tracer.addLatLng(latlng);
23921
24137
  }
23922
24138
  }
@@ -23925,14 +24141,12 @@ class Polydraw extends L$1.Control {
23925
24141
  * @param event - The mouse, touch, or pointer event.
23926
24142
  */
23927
24143
  async mouseUpLeave(event) {
23928
- console.log("mouseUpLeave called", event.type);
23929
24144
  const normalizedEvent = EventAdapter.normalizeEvent(event);
23930
24145
  if (EventAdapter.shouldPreventDefault(normalizedEvent)) {
23931
24146
  normalizedEvent.preventDefault();
23932
24147
  }
23933
24148
  this.polygonInformation.deletePolygonInformationStorage();
23934
24149
  const tracerGeoJSON = this.tracer.toGeoJSON();
23935
- console.log("Tracer GeoJSON:", tracerGeoJSON);
23936
24150
  if (!tracerGeoJSON || !tracerGeoJSON.geometry || !tracerGeoJSON.geometry.coordinates || tracerGeoJSON.geometry.coordinates.length < 3) {
23937
24151
  this.stopDraw();
23938
24152
  return;
@@ -24011,7 +24225,6 @@ class Polydraw extends L$1.Control {
24011
24225
  * Starts a drawing operation by attaching the necessary event listeners.
24012
24226
  */
24013
24227
  startDraw() {
24014
- console.log("startDraw called, attaching draw events");
24015
24228
  this.drawStartedEvents(true);
24016
24229
  }
24017
24230
  /**
@@ -24094,6 +24307,7 @@ class Polydraw extends L$1.Control {
24094
24307
  if (this.modeManager.getCurrentMode() !== DrawMode.PointToPoint && this.modeManager.getCurrentMode() !== DrawMode.PointToPointSubtract) {
24095
24308
  return;
24096
24309
  }
24310
+ L$1.DomEvent.stop(e);
24097
24311
  this.polygonDrawManager.handleDoubleClick(e);
24098
24312
  }
24099
24313
  /**