forked from Leaflet/Leaflet.draw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.js
78 lines (71 loc) · 1.56 KB
/
deps.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
var deps = {
Core: {
src: [
'Leaflet.draw.js'
],
desc: 'The core of the plugin. Currently only includes the version.'
},
DrawHandlers: {
src: [
'draw/handler/Draw.Feature.js',
'draw/handler/Draw.Polyline.js',
'draw/handler/Draw.Polygon.js',
'draw/handler/Draw.SimpleShape.js',
'draw/handler/Draw.Rectangle.js',
'draw/handler/Draw.Circle.js',
'draw/handler/Draw.Marker.js'
],
desc: 'Drawing handlers for: polylines, polygons, rectangles, circles and markers.',
deps: ['Core']
},
EditHandlers: {
src: [
'edit/handler/Edit.Marker.js',
'edit/handler/Edit.Poly.js',
'edit/handler/Edit.SimpleShape.js',
'edit/handler/Edit.Rectangle.js',
'edit/handler/Edit.Circle.js'
],
desc: 'Editing handlers for: polylines, polygons, rectangles, and circles.',
deps: ['Core']
},
Extensions: {
src: [
'ext/TouchEvents.js',
'ext/LatLngUtil.js',
'ext/GeometryUtil.js',
'ext/LineUtil.Intersect.js',
'ext/Polyline.Intersect.js',
'ext/Polygon.Intersect.js'
],
desc: 'Extensions of leaflet classes.'
},
CommonUI: {
src: [
'Control.Draw.js',
'Toolbar.js',
'Tooltip.js'
],
desc: 'Common UI components used.',
deps: ['Extensions']
},
DrawUI: {
src: [
'draw/DrawToolbar.js'
],
desc: 'Draw toolbar.',
deps: ['DrawHandlers', 'CommonUI']
},
EditUI: {
src: [
'edit/EditToolbar.js',
'edit/handler/EditToolbar.Edit.js',
'edit/handler/EditToolbar.Delete.js'
],
desc: 'Edit toolbar.',
deps: ['EditHandlers', 'CommonUI']
}
};
if (typeof exports !== 'undefined') {
exports.deps = deps;
}