leaflet-polydraw 0.9.6 → 1.1.0
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/README.md +46 -1057
- package/dist/icons/icon-bbox.svg +10 -45
- package/dist/icons/icon-cancel.svg +7 -0
- package/dist/icons/icon-collapse.svg +79 -0
- package/dist/icons/icon-confirm.svg +20 -0
- package/dist/icons/icon-double-elbows.svg +11 -0
- package/dist/icons/icon-draw.svg +55 -1
- package/dist/icons/icon-erase.svg +14 -2
- package/dist/icons/icon-p2p-draw.svg +113 -0
- package/dist/icons/icon-p2p-subtract.svg +108 -0
- package/dist/icons/icon-polydraw2.svg +60 -0
- package/dist/icons/icon-resize.svg +7 -0
- package/dist/icons/icon-rotate.svg +3 -0
- package/dist/icons/icon-simplify2.svg +12 -44
- package/dist/leaflet-polydraw.css +1 -1
- package/dist/polydraw.es.js +2600 -455
- 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 +38 -5
- package/dist/types/buttons.d.ts +1 -1
- package/dist/types/buttons.d.ts.map +1 -1
- package/dist/types/compatibility/event-adapter.d.ts +46 -0
- package/dist/types/compatibility/event-adapter.d.ts.map +1 -0
- package/dist/types/compatibility/leaflet-adapter.d.ts +154 -0
- package/dist/types/compatibility/leaflet-adapter.d.ts.map +1 -0
- package/dist/types/compatibility/version-detector.d.ts +44 -0
- package/dist/types/compatibility/version-detector.d.ts.map +1 -0
- package/dist/types/config.d.ts +3 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/coordinate-utils.d.ts +10 -0
- package/dist/types/coordinate-utils.d.ts.map +1 -1
- package/dist/types/enums.d.ts +9 -1
- package/dist/types/enums.d.ts.map +1 -1
- package/dist/types/icon-factory.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/managers/mode-manager.d.ts.map +1 -1
- package/dist/types/managers/polygon-draw-manager.d.ts +8 -0
- package/dist/types/managers/polygon-draw-manager.d.ts.map +1 -1
- package/dist/types/managers/polygon-interaction-manager.d.ts +6 -0
- package/dist/types/managers/polygon-interaction-manager.d.ts.map +1 -1
- package/dist/types/managers/polygon-mutation-manager.d.ts.map +1 -1
- package/dist/types/polydraw.d.ts +38 -11
- package/dist/types/polydraw.d.ts.map +1 -1
- package/dist/types/polygon.util.d.ts +2 -0
- package/dist/types/polygon.util.d.ts.map +1 -1
- package/dist/types/popup-factory.d.ts +30 -0
- package/dist/types/popup-factory.d.ts.map +1 -0
- package/dist/types/transform/polygon-transform-controller.d.ts +32 -0
- package/dist/types/transform/polygon-transform-controller.d.ts.map +1 -0
- package/dist/types/transform/transform-overlay.d.ts +34 -0
- package/dist/types/transform/transform-overlay.d.ts.map +1 -0
- package/dist/types/transform/transform-types.d.ts +44 -0
- package/dist/types/transform/transform-types.d.ts.map +1 -0
- package/dist/types/transform/transform-utils.d.ts +26 -0
- package/dist/types/transform/transform-utils.d.ts.map +1 -0
- package/dist/types/types/polydraw-interfaces.d.ts +121 -34
- package/dist/types/types/polydraw-interfaces.d.ts.map +1 -1
- package/dist/types/utils/config-merge.util.d.ts +2 -0
- package/dist/types/utils/config-merge.util.d.ts.map +1 -0
- package/dist/types/utils.d.ts +1 -1
- package/dist/types/utils.d.ts.map +1 -1
- package/package.json +29 -15
- package/dist/icons/icon-add-elbow.svg +0 -128
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<svg
|
|
3
|
-
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
-
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
-
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
-
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
-
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
9
|
-
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
10
|
-
xml:space="preserve"
|
|
11
|
-
style="enable-background:new 0 0 40 40;"
|
|
12
|
-
viewBox="0 0 40 40"
|
|
13
|
-
y="0px"
|
|
14
|
-
x="0px"
|
|
15
|
-
id="Layer_1"
|
|
16
|
-
version="1.1"
|
|
17
|
-
sodipodi:docname="icon-add-elbow.svg"
|
|
18
|
-
inkscape:version="0.92.3 (2405546, 2018-03-11)"><sodipodi:namedview
|
|
19
|
-
pagecolor="#ffffff"
|
|
20
|
-
bordercolor="#666666"
|
|
21
|
-
borderopacity="1"
|
|
22
|
-
objecttolerance="10"
|
|
23
|
-
gridtolerance="10"
|
|
24
|
-
guidetolerance="10"
|
|
25
|
-
inkscape:pageopacity="0"
|
|
26
|
-
inkscape:pageshadow="2"
|
|
27
|
-
inkscape:window-width="1440"
|
|
28
|
-
inkscape:window-height="837"
|
|
29
|
-
id="namedview11"
|
|
30
|
-
showgrid="false"
|
|
31
|
-
showguides="true"
|
|
32
|
-
inkscape:guide-bbox="true"
|
|
33
|
-
inkscape:zoom="11.8"
|
|
34
|
-
inkscape:cx="19.585579"
|
|
35
|
-
inkscape:cy="18.314137"
|
|
36
|
-
inkscape:window-x="-8"
|
|
37
|
-
inkscape:window-y="-8"
|
|
38
|
-
inkscape:window-maximized="1"
|
|
39
|
-
inkscape:current-layer="Layer_1"><sodipodi:guide
|
|
40
|
-
position="5,39.40678"
|
|
41
|
-
orientation="1,0"
|
|
42
|
-
id="guide4521"
|
|
43
|
-
inkscape:locked="false"
|
|
44
|
-
inkscape:label=""
|
|
45
|
-
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
|
46
|
-
position="35,35.169492"
|
|
47
|
-
orientation="1,0"
|
|
48
|
-
id="guide4523"
|
|
49
|
-
inkscape:locked="false"
|
|
50
|
-
inkscape:label=""
|
|
51
|
-
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
|
52
|
-
position="18.389831,35"
|
|
53
|
-
orientation="0,1"
|
|
54
|
-
id="guide4525"
|
|
55
|
-
inkscape:locked="false"
|
|
56
|
-
inkscape:label=""
|
|
57
|
-
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
|
58
|
-
position="20.423729,5"
|
|
59
|
-
orientation="0,1"
|
|
60
|
-
id="guide4527"
|
|
61
|
-
inkscape:locked="false"
|
|
62
|
-
inkscape:label=""
|
|
63
|
-
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
|
64
|
-
position="20,25.762712"
|
|
65
|
-
orientation="1,0"
|
|
66
|
-
id="guide4533"
|
|
67
|
-
inkscape:locked="false"
|
|
68
|
-
inkscape:label=""
|
|
69
|
-
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
|
70
|
-
position="27.372881,20"
|
|
71
|
-
orientation="0,1"
|
|
72
|
-
id="guide4535"
|
|
73
|
-
inkscape:locked="false"
|
|
74
|
-
inkscape:label=""
|
|
75
|
-
inkscape:color="rgb(0,0,255)" /></sodipodi:namedview><metadata
|
|
76
|
-
id="metadata9"><rdf:RDF><cc:Work
|
|
77
|
-
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
|
78
|
-
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
|
79
|
-
id="defs7"><marker
|
|
80
|
-
inkscape:stockid="Tail"
|
|
81
|
-
orient="auto"
|
|
82
|
-
refY="0.0"
|
|
83
|
-
refX="0.0"
|
|
84
|
-
id="Tail"
|
|
85
|
-
style="overflow:visible"
|
|
86
|
-
inkscape:isstock="true"><g
|
|
87
|
-
id="g4585"
|
|
88
|
-
transform="scale(-1.2)"
|
|
89
|
-
style="stroke:#000000;stroke-opacity:1;fill:#ffffff;fill-opacity:1"><path
|
|
90
|
-
id="path4573"
|
|
91
|
-
d="M -3.8048674,-3.9585227 L 0.54352094,0"
|
|
92
|
-
style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1" /><path
|
|
93
|
-
id="path4575"
|
|
94
|
-
d="M -1.2866832,-3.9585227 L 3.0617053,0"
|
|
95
|
-
style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1" /><path
|
|
96
|
-
id="path4577"
|
|
97
|
-
d="M 1.3053582,-3.9585227 L 5.6537466,0"
|
|
98
|
-
style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1" /><path
|
|
99
|
-
id="path4579"
|
|
100
|
-
d="M -3.8048674,4.1775838 L 0.54352094,0.21974226"
|
|
101
|
-
style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1" /><path
|
|
102
|
-
id="path4581"
|
|
103
|
-
d="M -1.2866832,4.1775838 L 3.0617053,0.21974226"
|
|
104
|
-
style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1" /><path
|
|
105
|
-
id="path4583"
|
|
106
|
-
d="M 1.3053582,4.1775838 L 5.6537466,0.21974226"
|
|
107
|
-
style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:0.8;stroke-linecap:round;stroke-opacity:1;fill-opacity:1" /></g></marker></defs>
|
|
108
|
-
|
|
109
|
-
<circle
|
|
110
|
-
r="4"
|
|
111
|
-
cy="35"
|
|
112
|
-
cx="5"
|
|
113
|
-
id="path819"
|
|
114
|
-
style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-opacity:1" /><circle
|
|
115
|
-
r="4"
|
|
116
|
-
cy="5.5932202"
|
|
117
|
-
cx="34.915257"
|
|
118
|
-
id="path819-25-9"
|
|
119
|
-
style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-opacity:1" /><path
|
|
120
|
-
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
|
121
|
-
d="M 5,35 C 35,5 35,5 35,5"
|
|
122
|
-
id="path4531"
|
|
123
|
-
inkscape:connector-curvature="0" /><circle
|
|
124
|
-
r="7.0885124"
|
|
125
|
-
cy="20"
|
|
126
|
-
cx="19.830509"
|
|
127
|
-
id="path819-2"
|
|
128
|
-
style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.77212811;stroke-miterlimit:4;stroke-dasharray:1.77212806, 1.77212806000000000;stroke-dashoffset:0;stroke-opacity:1" /></svg>
|