leaflet-polydraw 1.1.1 → 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.
- package/dist/leaflet-polydraw.css +1 -1
- package/dist/polydraw.es.js +27 -16
- package/dist/polydraw.es.js.map +1 -1
- package/dist/polydraw.umd.min.js +1 -1
- package/dist/polydraw.umd.min.js.map +1 -1
- package/dist/styles/polydraw.css +11 -1
- package/dist/types/polydraw.d.ts +1 -1
- package/dist/types/polydraw.d.ts.map +1 -1
- package/dist/types/transform/polygon-transform-controller.d.ts +1 -0
- package/dist/types/transform/polygon-transform-controller.d.ts.map +1 -1
- package/dist/types/transform/transform-overlay.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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-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}}
|
|
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}}
|
package/dist/polydraw.es.js
CHANGED
|
@@ -19531,7 +19531,8 @@ class TransformOverlay {
|
|
|
19531
19531
|
background: "#2b90d9",
|
|
19532
19532
|
boxShadow: "0 0 0 1px #fff",
|
|
19533
19533
|
cursor: this.cursorForHandle(type),
|
|
19534
|
-
pointerEvents: "auto"
|
|
19534
|
+
pointerEvents: "auto",
|
|
19535
|
+
touchAction: "none"
|
|
19535
19536
|
});
|
|
19536
19537
|
if (this.supportsPointerEvents) {
|
|
19537
19538
|
L$1.DomEvent.on(
|
|
@@ -19610,7 +19611,7 @@ class TransformOverlay {
|
|
|
19610
19611
|
this.documentUpHandler = (e) => this.endDrag(e);
|
|
19611
19612
|
if (this.supportsPointerEvents && evt instanceof PointerEvent) {
|
|
19612
19613
|
this.activePointerId = evt.pointerId;
|
|
19613
|
-
this.pointerCaptureTarget =
|
|
19614
|
+
this.pointerCaptureTarget = this.map.getContainer();
|
|
19614
19615
|
(_b2 = (_a2 = this.pointerCaptureTarget) == null ? void 0 : _a2.setPointerCapture) == null ? void 0 : _b2.call(_a2, evt.pointerId);
|
|
19615
19616
|
L$1.DomEvent.on(
|
|
19616
19617
|
document,
|
|
@@ -19803,6 +19804,12 @@ class TransformOverlay {
|
|
|
19803
19804
|
(_b2 = e.preventDefault) == null ? void 0 : _b2.call(e);
|
|
19804
19805
|
this.onCancel && this.onCancel();
|
|
19805
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
|
+
});
|
|
19806
19813
|
this.root.appendChild(this.cancelBtn);
|
|
19807
19814
|
}
|
|
19808
19815
|
if (this.onConfirm && !this.confirmBtn) {
|
|
@@ -19821,6 +19828,12 @@ class TransformOverlay {
|
|
|
19821
19828
|
(_b2 = e.preventDefault) == null ? void 0 : _b2.call(e);
|
|
19822
19829
|
this.onConfirm && this.onConfirm();
|
|
19823
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
|
+
});
|
|
19824
19837
|
this.root.appendChild(this.confirmBtn);
|
|
19825
19838
|
}
|
|
19826
19839
|
if (this.cancelBtn) {
|
|
@@ -19985,6 +19998,7 @@ class PolygonTransformController {
|
|
|
19985
19998
|
__publicField(this, "onExit");
|
|
19986
19999
|
__publicField(this, "rotateStartAngle", null);
|
|
19987
20000
|
__publicField(this, "rotateBaseRotation", 0);
|
|
20001
|
+
__publicField(this, "originalTouchAction", null);
|
|
19988
20002
|
__publicField(this, "onKeyDown", (e) => {
|
|
19989
20003
|
if (e.key === "Escape") {
|
|
19990
20004
|
this.handleCancel();
|
|
@@ -20045,6 +20059,9 @@ class PolygonTransformController {
|
|
|
20045
20059
|
}
|
|
20046
20060
|
dragging.disable();
|
|
20047
20061
|
}
|
|
20062
|
+
const container = this.map.getContainer();
|
|
20063
|
+
this.originalTouchAction = container.style.touchAction || null;
|
|
20064
|
+
container.style.touchAction = "none";
|
|
20048
20065
|
document.addEventListener("keydown", this.onKeyDown);
|
|
20049
20066
|
}
|
|
20050
20067
|
destroy() {
|
|
@@ -20058,6 +20075,12 @@ class PolygonTransformController {
|
|
|
20058
20075
|
dragging.enable();
|
|
20059
20076
|
}
|
|
20060
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
|
+
}
|
|
20061
20084
|
}
|
|
20062
20085
|
onStartDrag(type, start, evt) {
|
|
20063
20086
|
const isMac = navigator.userAgent.toLowerCase().includes("mac");
|
|
@@ -23393,7 +23416,7 @@ class Polydraw extends L$1.Control {
|
|
|
23393
23416
|
__publicField(this, "_boundPointerUp");
|
|
23394
23417
|
__publicField(this, "_lastTapTime", 0);
|
|
23395
23418
|
__publicField(this, "_tapTimeout", null);
|
|
23396
|
-
__publicField(this, "
|
|
23419
|
+
__publicField(this, "pointerEventsHandled", typeof window !== "undefined" && "PointerEvent" in window && LeafletVersionDetector.isV2());
|
|
23397
23420
|
/**
|
|
23398
23421
|
* Updates map interactions based on the current drawing mode.
|
|
23399
23422
|
*/
|
|
@@ -23989,7 +24012,6 @@ class Polydraw extends L$1.Control {
|
|
|
23989
24012
|
* @param onoff - A boolean indicating whether to attach or detach the events.
|
|
23990
24013
|
*/
|
|
23991
24014
|
drawStartedEvents(onoff) {
|
|
23992
|
-
console.log("drawStartedEvents called with onoff:", onoff);
|
|
23993
24015
|
const onoroff = onoff ? "on" : "off";
|
|
23994
24016
|
this.map[onoroff]("mousemove", this.mouseMove, this);
|
|
23995
24017
|
this.map[onoroff]("mouseup", this.mouseUpLeave, this);
|
|
@@ -24059,7 +24081,7 @@ class Polydraw extends L$1.Control {
|
|
|
24059
24081
|
this._lastTapTime = 0;
|
|
24060
24082
|
} else {
|
|
24061
24083
|
this._lastTapTime = currentTime;
|
|
24062
|
-
if (!this.
|
|
24084
|
+
if (!this.pointerEventsHandled) {
|
|
24063
24085
|
this._tapTimeout = window.setTimeout(() => {
|
|
24064
24086
|
this.mouseDown(event);
|
|
24065
24087
|
this._tapTimeout = null;
|
|
@@ -24082,27 +24104,21 @@ class Polydraw extends L$1.Control {
|
|
|
24082
24104
|
* @param event - The mouse, touch, or pointer event.
|
|
24083
24105
|
*/
|
|
24084
24106
|
mouseDown(event) {
|
|
24085
|
-
console.log("mouseDown called", event.type, event);
|
|
24086
24107
|
const normalizedEvent = EventAdapter.normalizeEvent(event);
|
|
24087
24108
|
if (EventAdapter.shouldPreventDefault(normalizedEvent)) {
|
|
24088
24109
|
normalizedEvent.preventDefault();
|
|
24089
24110
|
}
|
|
24090
24111
|
if (this.modeManager.isInOffMode()) {
|
|
24091
|
-
console.log("In off mode, ignoring");
|
|
24092
24112
|
return;
|
|
24093
24113
|
}
|
|
24094
24114
|
const clickLatLng = EventAdapter.extractCoordinates(normalizedEvent, this.map);
|
|
24095
|
-
console.log("Extracted coordinates:", clickLatLng);
|
|
24096
24115
|
if (!clickLatLng) {
|
|
24097
|
-
console.log("No coordinates extracted");
|
|
24098
24116
|
return;
|
|
24099
24117
|
}
|
|
24100
24118
|
if (this.modeManager.getCurrentMode() === DrawMode.PointToPoint || this.modeManager.getCurrentMode() === DrawMode.PointToPointSubtract) {
|
|
24101
|
-
console.log("Point-to-Point mode, calling handlePointToPointClick");
|
|
24102
24119
|
this.polygonDrawManager.handlePointToPointClick(clickLatLng);
|
|
24103
24120
|
return;
|
|
24104
24121
|
}
|
|
24105
|
-
console.log("Normal drawing mode, setting tracer and starting draw");
|
|
24106
24122
|
this.tracer.setLatLngs([clickLatLng]);
|
|
24107
24123
|
this.startDraw();
|
|
24108
24124
|
}
|
|
@@ -24111,14 +24127,12 @@ class Polydraw extends L$1.Control {
|
|
|
24111
24127
|
* @param event - The mouse, touch, or pointer event.
|
|
24112
24128
|
*/
|
|
24113
24129
|
mouseMove(event) {
|
|
24114
|
-
console.log("mouseMove called", event.type);
|
|
24115
24130
|
const normalizedEvent = EventAdapter.normalizeEvent(event);
|
|
24116
24131
|
if (EventAdapter.shouldPreventDefault(normalizedEvent)) {
|
|
24117
24132
|
normalizedEvent.preventDefault();
|
|
24118
24133
|
}
|
|
24119
24134
|
const latlng = EventAdapter.extractCoordinates(normalizedEvent, this.map);
|
|
24120
24135
|
if (latlng) {
|
|
24121
|
-
console.log("Adding latlng to tracer:", latlng);
|
|
24122
24136
|
this.tracer.addLatLng(latlng);
|
|
24123
24137
|
}
|
|
24124
24138
|
}
|
|
@@ -24127,14 +24141,12 @@ class Polydraw extends L$1.Control {
|
|
|
24127
24141
|
* @param event - The mouse, touch, or pointer event.
|
|
24128
24142
|
*/
|
|
24129
24143
|
async mouseUpLeave(event) {
|
|
24130
|
-
console.log("mouseUpLeave called", event.type);
|
|
24131
24144
|
const normalizedEvent = EventAdapter.normalizeEvent(event);
|
|
24132
24145
|
if (EventAdapter.shouldPreventDefault(normalizedEvent)) {
|
|
24133
24146
|
normalizedEvent.preventDefault();
|
|
24134
24147
|
}
|
|
24135
24148
|
this.polygonInformation.deletePolygonInformationStorage();
|
|
24136
24149
|
const tracerGeoJSON = this.tracer.toGeoJSON();
|
|
24137
|
-
console.log("Tracer GeoJSON:", tracerGeoJSON);
|
|
24138
24150
|
if (!tracerGeoJSON || !tracerGeoJSON.geometry || !tracerGeoJSON.geometry.coordinates || tracerGeoJSON.geometry.coordinates.length < 3) {
|
|
24139
24151
|
this.stopDraw();
|
|
24140
24152
|
return;
|
|
@@ -24213,7 +24225,6 @@ class Polydraw extends L$1.Control {
|
|
|
24213
24225
|
* Starts a drawing operation by attaching the necessary event listeners.
|
|
24214
24226
|
*/
|
|
24215
24227
|
startDraw() {
|
|
24216
|
-
console.log("startDraw called, attaching draw events");
|
|
24217
24228
|
this.drawStartedEvents(true);
|
|
24218
24229
|
}
|
|
24219
24230
|
/**
|