-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcanner.js
More file actions
191 lines (189 loc) · 5.88 KB
/
canner.js
File metadata and controls
191 lines (189 loc) · 5.88 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
module.exports = [{
"layout": "./index.hbs",
"helpers": ["./helper/ifCond.js","./helper/multipleOr.js", './helper/id.js'],
"data": {
"item": "react-d3-map",
"logo": "/img/react-d3_2.png",
"slogan": "A Javascript Library For Building Composable And Declarative Maps",
"description": "A whole new solution for building reusable components for your maps",
"banner-img": "/img/map.png",
"product": {
"title": "react-d3-map",
"data": [{
"name": "Introduction",
"feature": [
{
"name": "<span class=\"glyphicon glyphicon-refresh\"></span>Preserve d3 flexibility",
"description": "<code>react-d3-map</code> is a highly modular map library. You can build new interactive maps like leaflet, openlayers. And you could also build customized data visualization maps you love! "
},
{
"name": "<span class=\"glyphicon glyphicon-stats\"></span>Provide high level chart library",
"description": "<code>react-d3-map</code> support high level components that you can build your shapes like polygons, points, markers, lines ... etc. By importing the exact module you need."
},
{
"name": "<span class=\"glyphicon glyphicon-retweet\"></span>Better data flow, and structures",
"description": "<code>react-d3-map</code> combine the power of <code>d3</code> flexibility and the data flow, structures, components, virtual DOM, and others benefits that <code>react.js</code> provide."
}
]
},{
"name": "Demo",
"demo": [
{
"md": "./intro/demo/demo_map.md"
},
{
"md": "./intro/demo/demo_bubble.md"
},
{
"md": "./intro/demo/demo_orthographic.md"
},
{
"md": "./intro/demo/demo_choropleth.md"
}
]
}]
}
}
},{
"layout": "./docs.hbs",
"filename": "./get_start/index.html",
"helpers": ["./helper/ifCond.js","./helper/multipleOr.js", './helper/id.js'],
"data": {
"item": "Getting started react-d3-map",
"logo": "/img/react-d3_2.png",
"product": {
"title": "react-d3-map",
"data": [{
"name": "Getting Started",
"md": "./intro/get_start/install_pkg.md"
},
{
"name": "Prepare your Data",
"md": "./intro/get_start/data_prepare.md"
},
{
"name": "Write map",
"md": "./intro/get_start/write_map.md"
},{
"name": "Load into your html",
"md": "./intro/get_start/load_html.md"
},{
"name": "Result",
"md": "./intro/get_start/result.md"
},{
"name": "Code on Github",
"md": "./intro/get_start/code.md"
}]
}
}
},
{
"layout": "./docs.hbs",
"filename": "./docs/index.html",
"helpers": ["./helper/ifCond.js","./helper/multipleOr.js", './helper/id.js'],
"data": {
"item": "react-d3-map gallery",
"logo": "/img/react-d3_2.png",
"product": {
"title": "react-d3-map",
"data": [{
"name": "",
"md": ""
}]
}
}
},
{
"layout": "./gallery.hbs",
"filename": "./gallery/index.html",
"helpers": ["./helper/ifCond.js","./helper/multipleOr.js", './helper/id.js'],
"data": {
"item": "react-d3-map gallery",
"logo": "/img/react-d3_2.png",
"product": {
"title": "react-d3-map",
"data": [{
"name": "react-d3-map",
"md": "./intro/components/map.md",
"item": [
{
"url": "",
"src": "/img/map/line-map.png",
"text": "Interactive map with line and popup content"
},
{
"url": "",
"src": "/img/map/point-map.png",
"text": "Interactive map with marker and popup content"
},
{
"url": "",
"src": "/img/map/polygon-map.png",
"text": "Interactive map with polygon and popup content"
}
]
}, {
"name": "react-d3-bubble",
"md": "./intro/components/bubble.md",
"item": [
{
"url": "",
"src": "/img/bubble/bubble-earthquake.png",
"text": "Map bubble to display global history earthquake"
},
{
"url": "",
"src": "/img/bubble/bubble-earthquake-tile.png",
"text": "Map bubble to display global history earthquake with tiles"
},
{
"url": "",
"src": "/img/bubble/bubble-us.png",
"text": "Map bubble to display US data."
}
]
}, {
"name": "react-d3-choropleth",
"md": "./intro/components/choropleth.md",
"item": [
{
"url": "",
"src": "/img/choropleth/choropleth-twpopulation.png",
"text": "Map choropleth to display Taiwan population"
},
{
"url": "",
"src": "/img/choropleth/choropleth-twpopulation-tile.png",
"text": "Map choropleth to display Taiwan population with tiles"
},
{
"url": "",
"src": "/img/choropleth/choropleth-us.png",
"text": "Map choropleth to display US data."
}
]
}, {
"name": "react-d3-orthographic",
"md": "./intro/components/orthographic.md",
"item": [
{
"url": "",
"src": "/img/orthographic/ortho-line.png",
"text": "Map orthographic to display line."
},
{
"url": "",
"src": "/img/orthographic/ortho-point.png",
"text": "Map orthographic to display point."
},
{
"url": "",
"src": "/img/orthographic/ortho-polygon.png",
"text": "Map orthographic to display polygon."
}
]
}]
}
}
}
]