a14037c4 by jikai

111111

1 parent 6ed353cc
Showing 176 changed files with 1433 additions and 0 deletions
1 <?xml version="1.0" encoding="UTF-8"?>
2 <SceneRoute xmlns="http://www.supermap.com.cn/ugc60">
3 <route name="飞行路线_1" speed="267166.7779038889" lineType="0" showroutestop="True" showrouteline="True" altitudefree="False" headingfree="False" tiltfree="False" flycircle="False" alongline="False">
4 <style>
5 <geostyle3d>
6 <linecolor>RGBA(147,112,219,255)</linecolor>
7 <linewidth>2</linewidth>
8 <altitudeMode>Absolute</altitudeMode>
9 <bottomAltitude>0.00</bottomAltitude>
10 </geostyle3d>
11 </style>
12 <routestop name="Stop1" speed="0" excluded="False" viewType="camera">
13 <camera>
14 <longitude>105.64077729355439</longitude>
15 <latitude>35.917601146191636</latitude>
16 <altitude>14884982.679313947</altitude>
17 <heading>358.17849409532522</heading>
18 <tilt>0.08849661638966104</tilt>
19 <altitudeMode>Absolute</altitudeMode>
20 </camera>
21 <style>
22 <geostyle3d>
23 <icon/>
24 <markersize>4.8</markersize>
25 <markericonscale>1</markericonscale>
26 <markercolor>RGBA(255,255,255,255)</markercolor>
27 </geostyle3d>
28 </style>
29 <setting>
30 <turnTime>1.5</turnTime>
31 <turnSlowly>False</turnSlowly>
32 <stopPlayMode>StopPause</stopPlayMode>
33 <autoPlay>False</autoPlay>
34 <pauseTime>0</pauseTime>
35 <angularSpeed>1</angularSpeed>
36 </setting>
37 </routestop>
38 <routestop name="Stop2" speed="0" excluded="False" viewType="camera">
39 <camera>
40 <longitude>138.76288888155159</longitude>
41 <latitude>32.1311186892028</latitude>
42 <altitude>14884982.679313995</altitude>
43 <heading>17.119715634507781</heading>
44 <tilt>0.088496616389601865</tilt>
45 <altitudeMode>Absolute</altitudeMode>
46 </camera>
47 <style>
48 <geostyle3d>
49 <icon/>
50 <markersize>4.8</markersize>
51 <markericonscale>1</markericonscale>
52 <markercolor>RGBA(255,255,255,255)</markercolor>
53 </geostyle3d>
54 </style>
55 <setting>
56 <turnTime>1.5</turnTime>
57 <turnSlowly>False</turnSlowly>
58 <stopPlayMode>StopPause</stopPlayMode>
59 <autoPlay>False</autoPlay>
60 <pauseTime>0</pauseTime>
61 <angularSpeed>1</angularSpeed>
62 </setting>
63 </routestop>
64 <routestop name="Stop3" speed="0" excluded="False" viewType="camera">
65 <camera>
66 <longitude>177.49610786868993</longitude>
67 <latitude>14.724728642580006</latitude>
68 <altitude>14884982.679314032</altitude>
69 <heading>33.207131462673949</heading>
70 <tilt>0.088496616388734697</tilt>
71 <altitudeMode>Absolute</altitudeMode>
72 </camera>
73 <style>
74 <geostyle3d>
75 <icon/>
76 <markersize>4.8</markersize>
77 <markericonscale>1</markericonscale>
78 <markercolor>RGBA(255,255,255,255)</markercolor>
79 </geostyle3d>
80 </style>
81 <setting>
82 <turnTime>1.5</turnTime>
83 <turnSlowly>False</turnSlowly>
84 <stopPlayMode>StopPause</stopPlayMode>
85 <autoPlay>False</autoPlay>
86 <pauseTime>0</pauseTime>
87 <angularSpeed>1</angularSpeed>
88 </setting>
89 </routestop>
90 <routestop name="Stop4" speed="0" excluded="False" viewType="camera">
91 <camera>
92 <longitude>-152.22184393226587</longitude>
93 <latitude>-6.5033143583769295</latitude>
94 <altitude>14884982.679314144</altitude>
95 <heading>35.431078667830789</heading>
96 <tilt>0.088496616389603919</tilt>
97 <altitudeMode>Absolute</altitudeMode>
98 </camera>
99 <style>
100 <geostyle3d>
101 <icon/>
102 <markersize>4.8</markersize>
103 <markericonscale>1</markericonscale>
104 <markercolor>RGBA(255,255,255,255)</markercolor>
105 </geostyle3d>
106 </style>
107 <setting>
108 <turnTime>1.5</turnTime>
109 <turnSlowly>False</turnSlowly>
110 <stopPlayMode>StopPause</stopPlayMode>
111 <autoPlay>False</autoPlay>
112 <pauseTime>0</pauseTime>
113 <angularSpeed>1</angularSpeed>
114 </setting>
115 </routestop>
116 <routestop name="Stop5" speed="0" excluded="False" viewType="camera">
117 <camera>
118 <longitude>-111.68726916305629</longitude>
119 <latitude>-28.908632448655641</latitude>
120 <altitude>14884982.679314144</altitude>
121 <heading>22.343325007365646</heading>
122 <tilt>0.088496616398022795</tilt>
123 <altitudeMode>Absolute</altitudeMode>
124 </camera>
125 <style>
126 <geostyle3d>
127 <icon/>
128 <markersize>4.8</markersize>
129 <markericonscale>1</markericonscale>
130 <markercolor>RGBA(255,255,255,255)</markercolor>
131 </geostyle3d>
132 </style>
133 <setting>
134 <turnTime>1.5</turnTime>
135 <turnSlowly>False</turnSlowly>
136 <stopPlayMode>StopPause</stopPlayMode>
137 <autoPlay>False</autoPlay>
138 <pauseTime>0</pauseTime>
139 <angularSpeed>1</angularSpeed>
140 </setting>
141 </routestop>
142 <routestop name="Stop6" speed="0" excluded="False" viewType="camera">
143 <camera>
144 <longitude>-63.417769741687067</longitude>
145 <latitude>-35.701657443742718</latitude>
146 <altitude>14884982.679314028</altitude>
147 <heading>355.41296518265625</heading>
148 <tilt>0.088496616414911952</tilt>
149 <altitudeMode>Absolute</altitudeMode>
150 </camera>
151 <style>
152 <geostyle3d>
153 <icon/>
154 <markersize>4.8</markersize>
155 <markericonscale>1</markericonscale>
156 <markercolor>RGBA(255,255,255,255)</markercolor>
157 </geostyle3d>
158 </style>
159 <setting>
160 <turnTime>1.5</turnTime>
161 <turnSlowly>False</turnSlowly>
162 <stopPlayMode>StopPause</stopPlayMode>
163 <autoPlay>False</autoPlay>
164 <pauseTime>0</pauseTime>
165 <angularSpeed>1</angularSpeed>
166 </setting>
167 </routestop>
168 <routestop name="Stop7" speed="0" excluded="False" viewType="camera">
169 <camera>
170 <longitude>-14.046214024637726</longitude>
171 <latitude>-21.443861988639341</latitude>
172 <altitude>14884982.679313958</altitude>
173 <heading>330.45272466283848</heading>
174 <tilt>0.088496616434955072</tilt>
175 <altitudeMode>Absolute</altitudeMode>
176 </camera>
177 <style>
178 <geostyle3d>
179 <icon/>
180 <markersize>4.8</markersize>
181 <markericonscale>1</markericonscale>
182 <markercolor>RGBA(255,255,255,255)</markercolor>
183 </geostyle3d>
184 </style>
185 <setting>
186 <turnTime>1.5</turnTime>
187 <turnSlowly>False</turnSlowly>
188 <stopPlayMode>StopPause</stopPlayMode>
189 <autoPlay>False</autoPlay>
190 <pauseTime>0</pauseTime>
191 <angularSpeed>1</angularSpeed>
192 </setting>
193 </routestop>
194 <routestop name="Stop8" speed="0" excluded="False" viewType="camera">
195 <camera>
196 <longitude>18.008136985698062</longitude>
197 <latitude>-0.5286335004533238</latitude>
198 <altitude>14884982.679313965</altitude>
199 <heading>324.04681871550184</heading>
200 <tilt>0.088496616446353843</tilt>
201 <altitudeMode>Absolute</altitudeMode>
202 </camera>
203 <style>
204 <geostyle3d>
205 <icon/>
206 <markersize>4.8</markersize>
207 <markericonscale>1</markericonscale>
208 <markercolor>RGBA(255,255,255,255)</markercolor>
209 </geostyle3d>
210 </style>
211 <setting>
212 <turnTime>1.5</turnTime>
213 <turnSlowly>False</turnSlowly>
214 <stopPlayMode>StopPause</stopPlayMode>
215 <autoPlay>False</autoPlay>
216 <pauseTime>0</pauseTime>
217 <angularSpeed>1</angularSpeed>
218 </setting>
219 </routestop>
220 <routestop name="Stop9" speed="0" excluded="False" viewType="camera">
221 <camera>
222 <longitude>62.786050217401822</longitude>
223 <latitude>26.764409288967855</latitude>
224 <altitude>14884982.679314137</altitude>
225 <heading>334.99907917193406</heading>
226 <tilt>0.088496616443818302</tilt>
227 <altitudeMode>Absolute</altitudeMode>
228 </camera>
229 <style>
230 <geostyle3d>
231 <icon/>
232 <markersize>4.8</markersize>
233 <markericonscale>1</markericonscale>
234 <markercolor>RGBA(255,255,255,255)</markercolor>
235 </geostyle3d>
236 </style>
237 <setting>
238 <turnTime>1.5</turnTime>
239 <turnSlowly>False</turnSlowly>
240 <stopPlayMode>StopPause</stopPlayMode>
241 <autoPlay>False</autoPlay>
242 <pauseTime>0</pauseTime>
243 <angularSpeed>1</angularSpeed>
244 </setting>
245 </routestop>
246 <routestop name="Stop10" speed="0" excluded="False" viewType="camera">
247 <camera>
248 <longitude>105.64077729355439</longitude>
249 <latitude>35.917601146191636</latitude>
250 <altitude>14884982.679313947</altitude>
251 <heading>358.17849409532522</heading>
252 <tilt>0.08849661638966104</tilt>
253 <altitudeMode>Absolute</altitudeMode>
254 </camera>
255 <style>
256 <geostyle3d>
257 <icon/>
258 <markersize>4.8</markersize>
259 <markericonscale>1</markericonscale>
260 <markercolor>RGBA(255,255,255,255)</markercolor>
261 </geostyle3d>
262 </style>
263 <setting>
264 <turnTime>1.5</turnTime>
265 <turnSlowly>False</turnSlowly>
266 <stopPlayMode>StopPause</stopPlayMode>
267 <autoPlay>False</autoPlay>
268 <pauseTime>0</pauseTime>
269 <angularSpeed>1</angularSpeed>
270 </setting>
271 </routestop>
272 </route>
273 </SceneRoute>
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3 <svg xmlns="http://www.w3.org/2000/svg">
4 <metadata>
5 Created by FontForge 20120731 at Mon Oct 10 16:48:00 2016
6 By admin
7 </metadata>
8 <defs>
9 <font id="iconfont" horiz-adv-x="374" >
10 <font-face
11 font-family="iconfont"
12 font-weight="500"
13 font-stretch="normal"
14 units-per-em="1024"
15 panose-1="2 0 6 3 0 0 0 0 0 0"
16 ascent="896"
17 descent="-128"
18 x-height="792"
19 bbox="34 -212 956 812"
20 underline-thickness="50"
21 underline-position="-100"
22 unicode-range="U+0078-E699"
23 />
24 <missing-glyph
25 d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" />
26 <glyph glyph-name=".notdef"
27 d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" />
28 <glyph glyph-name=".null" horiz-adv-x="0"
29 />
30 <glyph glyph-name="nonmarkingreturn" horiz-adv-x="341"
31 />
32 <glyph glyph-name="x" unicode="x" horiz-adv-x="1001"
33 d="M281 543q-27 -1 -53 -1h-83q-18 0 -36.5 -6t-32.5 -18.5t-23 -32t-9 -45.5v-76h912v41q0 16 -0.5 30t-0.5 18q0 13 -5 29t-17 29.5t-31.5 22.5t-49.5 9h-133v-97h-438v97zM955 310v-52q0 -23 0.5 -52t0.5 -58t-10.5 -47.5t-26 -30t-33 -16t-31.5 -4.5q-14 -1 -29.5 -0.5
34 t-29.5 0.5h-32l-45 128h-439l-44 -128h-29h-34q-20 0 -45 1q-25 0 -41 9.5t-25.5 23t-13.5 29.5t-4 30v167h911zM163 247q-12 0 -21 -8.5t-9 -21.5t9 -21.5t21 -8.5q13 0 22 8.5t9 21.5t-9 21.5t-22 8.5zM316 123q-8 -26 -14 -48q-5 -19 -10.5 -37t-7.5 -25t-3 -15t1 -14.5
35 t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-5 19 -11 39h-368zM336 498v228q0 11 2.5 23t10 21.5t20.5 15.5t34 6h188q31 0 51.5 -14.5t20.5 -52.5v-227h-327z" />
36 <glyph glyph-name="uniE699" unicode="&#xe699;" horiz-adv-x="1024"
37 d="M832 -212h-640q-27 0 -45.5 18.5t-18.5 45.5t18.5 45.5t45.5 18.5h640q27 0 45.5 -18.5t18.5 -45.5t-18.5 -45.5t-45.5 -18.5zM828 460q-28 0 -48 -20l-204 -204v512q0 27 -18.5 45.5t-45.5 18.5t-45.5 -18.5t-18.5 -45.5v-512l-204 204q-20 20 -48 20t-48 -20t-20 -48
38 t20 -48l332 -332q13 -13 32 -13t32 13l332 332q20 20 20 48t-20 48t-48 20z" />
39 </font>
40 </defs></svg>
No preview for this file type
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3 <svg xmlns="http://www.w3.org/2000/svg">
4 <metadata>
5 Created by FontForge 20120731 at Wed Sep 28 15:14:35 2016
6 By admin
7 </metadata>
8 <defs>
9 <font id="iconfont" horiz-adv-x="1024" >
10 <font-face
11 font-family="iconfont"
12 font-weight="500"
13 font-stretch="normal"
14 units-per-em="1024"
15 panose-1="2 0 6 3 0 0 0 0 0 0"
16 ascent="896"
17 descent="-128"
18 x-height="792"
19 bbox="-0.333333 -212 1181 896.306"
20 underline-thickness="50"
21 underline-position="-100"
22 unicode-range="U+0078-F0015"
23 />
24 <missing-glyph horiz-adv-x="374"
25 d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" />
26 <glyph glyph-name=".notdef" horiz-adv-x="374"
27 d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" />
28 <glyph glyph-name=".null" horiz-adv-x="0"
29 />
30 <glyph glyph-name="nonmarkingreturn" horiz-adv-x="341"
31 />
32 <glyph glyph-name="x" unicode="x" horiz-adv-x="1001"
33 d="M281 543q-27 -1 -53 -1h-83q-18 0 -36.5 -6t-32.5 -18.5t-23 -32t-9 -45.5v-76h912v41q0 16 -0.5 30t-0.5 18q0 13 -5 29t-17 29.5t-31.5 22.5t-49.5 9h-133v-97h-438v97zM955 310v-52q0 -23 0.5 -52t0.5 -58t-10.5 -47.5t-26 -30t-33 -16t-31.5 -4.5q-14 -1 -29.5 -0.5
34 t-29.5 0.5h-32l-45 128h-439l-44 -128h-29h-34q-20 0 -45 1q-25 0 -41 9.5t-25.5 23t-13.5 29.5t-4 30v167h911zM163 247q-12 0 -21 -8.5t-9 -21.5t9 -21.5t21 -8.5q13 0 22 8.5t9 21.5t-9 21.5t-22 8.5zM316 123q-8 -26 -14 -48q-5 -19 -10.5 -37t-7.5 -25t-3 -15t1 -14.5
35 t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-5 19 -11 39h-368zM336 498v228q0 11 2.5 23t10 21.5t20.5 15.5t34 6h188q31 0 51.5 -14.5t20.5 -52.5v-227h-327z" />
36 <glyph glyph-name="uniE604" unicode="&#xe604;"
37 d="M921 630l-231 231l-587 -587l231 -231zM660 773l144 -144l-29 -29l-144 144zM572 685l87 -86l-30 -30l-86 87zM484 597l87 -86l-30 -30l-86 87zM396 509l87 -86l-30 -30l-86 87zM308 421l87 -86l-30 -30l-86 87zM220 333l144 -144l-29 -29l-144 144zM137 -93h784v68h-784
38 v-68zM137 -93z" />
39 <glyph glyph-name="uniE60D" unicode="&#xe60d;"
40 d="M544 -128q-3 0 -7 1q-11 2 -18 11t-7 20v480h-480q-11 0 -20 7t-11.5 18t2.5 21t16 15l959 448q21 9 36.5 -6.5t6.5 -36.5l-448 -960q-9 -18 -29 -18zM176 448h368q13 0 22.5 -9.5t9.5 -22.5v-368l350 750z" />
41 <glyph glyph-name="uniE61B" unicode="&#xe61b;"
42 d="M291 461l74 71l156 -159l161 159l71 -73l-161 -158l162 -164l-71 -69l-163 164l-162 -161l-72 72l166 159z" />
43 <glyph glyph-name="uniE62B" unicode="&#xe62b;"
44 d="M819 77h-696v614h246v82h-328v-778h860v246h-82v-164zM295 445v41h-53v-315h49v135q0 62 12 86q8 17 33 41q24 12 49 12q23 0 41 -12q12 -8 20 -33q5 -12 5 -69v-160h49v123q0 53 8 86q5 24 33 45q22 16 49 16q28 0 41 -12q12 -8 20 -33q4 -12 4 -61v-172h54v172
45 q0 86 -33 118.5t-74 32.5q-35 0 -70 -20q-26 -16 -40 -45q-6 20 -33 41q-34 20 -66 20q-64 18 -98 -37zM864 421l70 74q9 9 17 18.5t16.5 22.5t11.5 16q16 33 16 53q0 37 -28 66q-14 13 -30 16.5t-44 3.5q-41 0 -70 -28q-26 -27 -32 -78h36q0 32 21 53q16 16 41 16
46 q29 0 45 -16t16 -41q0 -23 -12 -41q-16 -25 -41 -49l-119 -127h213v37h-127v4z" />
47 <glyph glyph-name="uniE62C" unicode="&#xe62c;"
48 d="M992 332h-128v-128h-192v128h-128v192h128v128h192v-128h128v-192zM32 396h448v-192h-448v192zM32 652h448v-192h-448v192zM992 -52h-960v192h960v-192z" />
49 <glyph glyph-name="uniE637" unicode="&#xe637;"
50 d="M743 604q-27 1 -48 -20t-21 -48q-1 -29 19.5 -50t48.5 -21q29 0 50.5 20.5t20.5 48.5q-1 31 -20.5 50t-49.5 20zM743 507q-10 0 -17.5 8t-8.5 18q0 12 7.5 20t18.5 8t18.5 -7.5t7.5 -18.5q0 -12 -7.5 -20t-18.5 -8zM948 530q-33 33 -92 93.5t-70 74.5l-4 4q-4 5 -4.5 6
51 t-4 5t-5.5 5l-4 5q-3 3 -5 4.5t-5.5 4t-6 4t-5.5 3t-6 2.5q-6 4 -13.5 2t-12.5 -3.5t-11.5 -6.5t-10 -9t-9.5 -10t-10 -9q-10 -9 -593 -573q-28 -27 -1 -53q39 -39 110.5 -114t85.5 -90q17 -18 28.5 -18t29.5 17q41 40 194 188t273 264t129 123q14 13 19 19t13 17.5t5 22
52 t-14 22.5zM867 474q-37 -37 -136 -133q-127 -122 -399 -384q-17 -17 -30.5 -17t-30.5 18q-72 74 -113 117q-24 24 -7 48q43 -41 56 -53q11 -10 22.5 -8.5t14.5 13.5q3 13 -7 25q-6 7 -53 56q3 3 29.5 28.5t26.5 26.5q54 -51 56 -53q14 -14 28 -8q11 5 12 15.5t-7 20.5
53 q-4 4 -55 58l41 42q95 -88 99 -92q20 -20 34 -3q13 16 -3 33q-29 30 -78 81q-3 2 -13 14q2 2 11.5 12t10.5 11q10 -9 27.5 -27t25.5 -25q21 -20 36 -6q17 16 -5 37q-21 20 -54 49q6 7 58 58q52 -48 58 -54q17 -16 32 -3q18 15 -2 34q-4 4 -57 52q5 4 20 19q7 -7 26.5 -24.5
54 t29.5 -26.5q21 -19 35 -4q16 16 -4 34q-10 10 -31 27.5t-25 22.5q20 20 41 42t35 37l26 30q14 15 23 24t18.5 16.5t16 10t13.5 3t13.5 -3.5t14.5 -12q37 -37 124 -128q23 -24 -4 -50z" />
55 <glyph glyph-name="uniE645" unicode="&#xe645;"
56 d="M960 358h-44q-15 0 -29 10t-19 25l-26 62q-7 13 -4.5 30.5t13.5 28.5l32 31q10 11 10 26.5t-10 25.5l-53 53q-11 10 -26 10t-26 -10l-32 -32q-10 -11 -27.5 -13.5t-30.5 5.5l-62 25q-15 5 -25.5 19t-10.5 29v44q0 16 -10.5 26.5t-26.5 10.5h-73q-16 0 -27 -10.5
57 t-11 -26.5v-44q0 -15 -10 -29.5t-25 -18.5l-62 -25q-13 -8 -30.5 -5.5t-27.5 13.5l-32 32q-11 10 -26.5 10t-25.5 -10l-53 -53q-10 -10 -10 -25.5t10 -26.5l32 -31q11 -11 13.5 -28.5t-5.5 -30.5l-25 -62q-5 -15 -19 -25.5t-29 -10.5l-44 1q-16 0 -26.5 -11t-10.5 -26v-74
58 q0 -16 10.5 -26.5t26.5 -10.5h44q15 0 29 -10.5t19 -25.5l25 -62q8 -13 5.5 -30.5t-13.5 -28.5l-32 -31q-10 -11 -10 -26.5t10 -25.5l53 -53q10 -10 25.5 -10t26.5 10l31 32q11 11 28.5 13.5t30.5 -5.5l62 -25q15 -5 25 -19t10 -29v-44q0 -16 11 -26.5t27 -10.5h73
59 q16 0 26.5 10.5t10.5 26.5v44q0 15 10.5 29t25.5 19l62 25q13 8 30.5 5.5t28.5 -13.5l31 -32q11 -10 26 -10t26 10l53 53q10 10 10 25.5t-10 26.5l-32 31q-11 11 -13.5 28.5t4.5 30.5l26 62q4 15 18.5 25.5t29.5 10.5h44q16 0 26.5 10.5t10.5 26.5v74q0 15 -10.5 26
60 t-26.5 11zM702 283.5q0 -76.5 -54.5 -130.5t-131 -54t-130.5 54t-54 130.5t54 131t130.5 54.5t131 -54.5t54.5 -131z" />
61 <glyph glyph-name="uniE656" unicode="&#xe656;"
62 d="M415 497h32v-335h-32v335zM575 497h32v-335h-32v335zM686 657v95q0 14 -9 23t-22 9h-288q-13 0 -22.5 -9t-9.5 -23v-95h-207v-48h96v-559q0 -27 18.5 -45.5t44.5 -18.5h447q27 0 45.5 18.5t18.5 45.5v559h96v48h-208zM383 720q0 7 4.5 11.5t11.5 4.5h224q6 0 11 -4.5
63 t5 -11.5v-63h-256v63zM750 66q0 -13 -9 -22.5t-23 -9.5h-415q-13 0 -22.5 9.5t-9.5 22.5v543h479v-543z" />
64 <glyph glyph-name="uniE6CE" unicode="&#xe6ce;"
65 d="M0 812h408v-340h-408v340zM616 812h408v-340h-408v340zM0 267h408v-340h-408v340zM616 267h408v-340h-408v340z" />
66 <glyph glyph-name="uniE6F8" unicode="&#xe6f8;" horiz-adv-x="1182"
67 d="M1147 334v-1l-535 -219v0q-11 -4 -21.5 -4t-21.5 4v0l-535 219v1q-15 6 -24.5 19.5t-9.5 30.5q0 23 16 39t39 16q11 0 22 -4v0l514 -211l513 211h1v0q10 4 21 4q23 0 39 -16t16 -39q0 -17 -9.5 -30.5t-24.5 -19.5zM1147 571l-535 -219v0q-11 -4 -21.5 -4t-21.5 4v0
68 l-535 219q-15 6 -24.5 20t-9.5 31t9.5 30.5t24.5 19.5l535 220v0q11 4 21.5 4t21.5 -4v0l535 -220q15 -6 24.5 -19.5t9.5 -30.5t-9.5 -31t-24.5 -20zM55 201q11 0 22 -4v0l514 -210l513 210h1v0q10 4 21 4q23 0 39 -16t16 -38q0 -17 -9.5 -31t-24.5 -20l-535 -219v0
69 q-10 -5 -21.5 -5t-21.5 5v0l-535 219q-15 6 -24.5 20t-9.5 31q0 22 16 38t39 16z" />
70 <glyph glyph-name="uniE73A" unicode="&#xe73a;"
71 d="M512 547q-67 0 -115 -48t-48 -115t48 -115t115 -48t115 48t48 115t-48 115t-115 48zM877 425q-14 126 -106 218t-218 106v83h-82v-83q-126 -14 -218 -106t-106 -218h-83v-82h83q14 -126 106 -218t218 -106v-83h82v83q126 14 218 106t106 218h83v82h-83zM512 99
72 q-118 0 -201.5 83.5t-83.5 201.5t83.5 201.5t201.5 83.5t201.5 -83.5t83.5 -201.5t-83.5 -201.5t-201.5 -83.5zM512 99z" />
73 <glyph glyph-name="uniE775" unicode="&#xe775;"
74 d="M959 -46l-82 267q-6 19 -21.5 30.5t-35.5 11.5h-120v-29h69q17 0 31 -10t19 -26l42 -196q8 -25 -7.5 -45t-42.5 -20h-606q-26 0 -41.5 20t-8.5 45l43 196v1l200 -196l510 501l-201 198l-507 -498h-1v59h-3q-20 0 -35 -11.5t-21 -30.5l-82 -267q-9 -29 8.5 -53t47.5 -24
75 h788q30 0 48 24t9 53zM681 627l126 -123l-26 -25l-125 123zM605 552l75 -74l-25 -25l-76 74zM528 477l76 -74l-26 -26l-75 74zM451 401l76 -74l-26 -25l-75 74zM375 326l75 -74l-25 -25l-76 74zM298 251l126 -123l-26 -25l-125 123z" />
76 <glyph glyph-name="uniE7D9" unicode="&#xe7d9;"
77 d="M781 448l179 149h-36h-593v118h-59v-118v-30l-208 -208h30h94l-124 -148h30h94l-99 -119h-2l-23 -29h30h178v-119h59v119h82v29h-82h-59h-153l99 119h54v-89h59v89h267v30h-356h-29h-94l99 118h54v-89h59v89h345l34 30l36 30h125l-95 -119h30l118 148h-29h-114zM242 389
78 h-29h-89l148 148v-59h59v89h556l-222 -178h-423zM746 330h-89v-178h-178v-89h178v-178h89v178h178v89h-178v178z" />
79 <glyph glyph-name="uniE812" unicode="&#xe812;"
80 d="M25 600l497 -216l477 216l-458 232zM522 87l-326 142l-171 -77l497 -216l477 216l-158 80zM522 300l-326 142l-171 -77l497 -216l477 216l-158 79z" />
81 <glyph glyph-name="uniE8F0" unicode="&#xe8f0;"
82 d="M851 191v-42h-678v42h-169v-169h169v42h678v-42h170v169h-170zM343 578l84 -302l71 18l80 -21l104 376v-373h84v466h-71l-79 3l-112 -419l-118 416h-43h-85v-466h85v302z" />
83 <glyph glyph-name="uF0007" unicode="&#xf0007;"
84 d="M512 300q-139 0 -257 -51.5t-186.5 -140t-68.5 -192.5q0 -53 50 -90.5t121 -37.5h682q71 0 121 37.5t50 90.5q0 104 -68.5 192.5t-186.5 140t-257 51.5zM512 620zM256 620q0 106 75 181t181 75t181 -75t75 -181t-75 -181t-181 -75t-181 75t-75 181z" />
85 <glyph glyph-name="uF0015" unicode="&#xf0015;"
86 d="M832 460q0 87 -43 160.5t-116.5 116.5t-160.5 43t-160.5 -43t-116.5 -116.5t-43 -160.5q0 -105 66 -192h-2l256 -448l256 448h-1q65 87 65 192zM512 332q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5z" />
87 </font>
88 </defs></svg>
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
1 var CesiumToSuperMap = {
2 convertPoint : function(Cesium,SuperMap,point){
3 if(!Cesium || !SuperMap || !point){
4 return undefined;
5 }
6 var lonlatPoint = Cesium.Cartographic.fromCartesian(point);
7 var x = Cesium.Math.toDegrees(lonlatPoint.longitude);
8 var y = Cesium.Math.toDegrees(lonlatPoint.latitude);
9 if(x && y){
10 return new SuperMap.Geometry.Point(x,y);
11 }
12 return undefined;
13 },
14 convertPolyline : function(Cesium,SuperMap,polyline){
15 if(!Cesium || !SuperMap || !polyline){
16 throw undefined;
17 }
18 var points = polyline.positions;
19 if(points && points instanceof Array && points.length >= 2){
20 var arr = [];
21 for(var i = 0,j = points.length;i < j;i++){
22 var point = this.convertPoint(Cesium,SuperMap,points[i]);
23 if(point){
24 arr.push(point);
25 }
26 }
27 return new SuperMap.Geometry.LineString(arr);
28 }
29 return undefined;
30 },
31 convertPolygon : function(Cesium, SuperMap, polygon){
32 if(!Cesium || !SuperMap || !polygon){
33 throw undefined;
34 }
35 var points = polygon.positions;
36 if(points && points instanceof Array && points.length >= 3){
37 var arr = [];
38 for(var i = 0,j = points.length;i < j;i++){
39 var point = this.convertPoint(Cesium,SuperMap,points[i]);
40 if(point){
41 arr.push(point);
42 }
43 }
44 var linearRing = new SuperMap.Geometry.LinearRing(arr);
45 return new SuperMap.Geometry.Polygon(linearRing);
46 }
47 return undefined;
48 }
49 };
50
51 var SuperMapToCesium = {
52 geometryToEntity : function(Cesium,SuperMap,geometry){
53 var className = geometry.CLASS_NAME;
54 if(className == 'SuperMap.Geometry.MultiPolygon'){
55 return this.multipolygonToEntities(Cesium,SuperMap,geometry);
56 }
57 else if(className == 'SuperMap.Geometry.Polygon'){
58 return [this.polygonToEntity(Cesium,SuperMap,geometry)];
59 }
60 return undefined;
61 },
62 polygonToEntity : function(Cesium,SuperMap,geometry){
63 var hierarchy = {};
64 for(var i = 0,j = geometry.components.length;i < j;i++){
65 if(i == 0){
66 hierarchy.positions = this.GeometrytoDegreesArray(Cesium,SuperMap,geometry.components[i]);
67 }
68 else{
69 if(!hierarchy.holes){
70 hierarchy.holes = [];
71 }
72 hierarchy.holes.push({
73 positions : this.GeometrytoDegreesArray(Cesium,SuperMap,geometry.components[i])
74 });
75 }
76 }
77 return new Cesium.Entity({
78 polygon : {
79 hierarchy : hierarchy,
80 material : Cesium.Color.BLUE.withAlpha(0.5)
81 },
82 depthTestEnabled : false
83 });
84
85 },
86 multipolygonToEntities : function(Cesium,SuperMap,geometry){
87 var components = geometry.components;
88 var resultEntities = [];
89 var entity;
90 for(var item in components){
91 entity = this.polygonToEntity(Cesium,SuperMap,components[item]);
92 resultEntities.push(entity);
93 }
94 return resultEntities;
95 },
96 GeometrytoDegreesArray : function(Cesium,SuperMap,geometry){
97 var vertices = geometry.getVertices();
98 var degreesArr = [];
99 for(var o in vertices){
100 degreesArr.push(vertices[o].x,vertices[o].y);
101 }
102 return Cesium.Cartesian3.fromDegreesArray(degreesArr);
103 }
104 };
...\ No newline at end of file ...\ No newline at end of file
1 /*!
2 * Bootstrap-select v1.12.2 (http://silviomoreto.github.io/bootstrap-select)
3 *
4 * Copyright 2013-2017 bootstrap-select
5 * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6 */select.bs-select-hidden,select.selectpicker{display:none!important}.bootstrap-select{width:220px\9}.bootstrap-select>.dropdown-toggle{width:100%;padding-right:25px;z-index:1}.bootstrap-select>.dropdown-toggle.bs-placeholder,.bootstrap-select>.dropdown-toggle.bs-placeholder:active,.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,.bootstrap-select>.dropdown-toggle.bs-placeholder:hover{color:#999}.bootstrap-select>select{position:absolute!important;bottom:0;left:50%;display:block!important;width:.5px!important;height:100%!important;padding:0!important;opacity:0!important;border:none}.bootstrap-select>select.mobile-device{top:0;left:0;display:block!important;width:100%!important;z-index:2}.error .bootstrap-select .dropdown-toggle,.has-error .bootstrap-select .dropdown-toggle{border-color:#b94a48}.bootstrap-select.fit-width{width:auto!important}.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn){width:220px}.bootstrap-select .dropdown-toggle:focus{outline:thin dotted #333!important;outline:5px auto -webkit-focus-ring-color!important;outline-offset:-2px}.bootstrap-select.form-control{margin-bottom:0;padding:0;border:none}.bootstrap-select.form-control:not([class*=col-]){width:100%}.bootstrap-select.form-control.input-group-btn{z-index:auto}.bootstrap-select.form-control.input-group-btn:not(:first-child):not(:last-child)>.btn{border-radius:0}.bootstrap-select.btn-group:not(.input-group-btn),.bootstrap-select.btn-group[class*=col-]{float:none;display:inline-block;margin-left:0}.bootstrap-select.btn-group.dropdown-menu-right,.bootstrap-select.btn-group[class*=col-].dropdown-menu-right,.row .bootstrap-select.btn-group[class*=col-].dropdown-menu-right{float:right}.form-group .bootstrap-select.btn-group,.form-horizontal .bootstrap-select.btn-group,.form-inline .bootstrap-select.btn-group{margin-bottom:0}.form-group-lg .bootstrap-select.btn-group.form-control,.form-group-sm .bootstrap-select.btn-group.form-control{padding:0}.form-group-lg .bootstrap-select.btn-group.form-control .dropdown-toggle,.form-group-sm .bootstrap-select.btn-group.form-control .dropdown-toggle{height:100%;font-size:inherit;line-height:inherit;border-radius:inherit}.form-inline .bootstrap-select.btn-group .form-control{width:100%}.bootstrap-select.btn-group.disabled,.bootstrap-select.btn-group>.disabled{cursor:not-allowed}.bootstrap-select.btn-group.disabled:focus,.bootstrap-select.btn-group>.disabled:focus{outline:0!important}.bootstrap-select.btn-group.bs-container{position:absolute;height:0!important;padding:0!important}.bootstrap-select.btn-group.bs-container .dropdown-menu{z-index:1060}.bootstrap-select.btn-group .dropdown-toggle .filter-option{display:inline-block;overflow:hidden;width:100%;text-align:left}.bootstrap-select.btn-group .dropdown-toggle .caret{position:absolute;top:50%;right:12px;margin-top:-2px;vertical-align:middle}.bootstrap-select.btn-group[class*=col-] .dropdown-toggle{width:100%}.bootstrap-select.btn-group .dropdown-menu{min-width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-select.btn-group .dropdown-menu.inner{position:static;float:none;border:0;padding:0;margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none}.bootstrap-select.btn-group .dropdown-menu li{position:relative}.bootstrap-select.btn-group .dropdown-menu li.active small{color:#fff}.bootstrap-select.btn-group .dropdown-menu li.disabled a{cursor:not-allowed}.bootstrap-select.btn-group .dropdown-menu li a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bootstrap-select.btn-group .dropdown-menu li a.opt{position:relative;padding-left:2.25em}.bootstrap-select.btn-group .dropdown-menu li a span.check-mark{display:none}.bootstrap-select.btn-group .dropdown-menu li a span.text{display:inline-block}.bootstrap-select.btn-group .dropdown-menu li small{padding-left:.5em}.bootstrap-select.btn-group .dropdown-menu .notify{position:absolute;bottom:5px;width:96%;margin:0 2%;min-height:26px;padding:3px 5px;background:#f5f5f5;border:1px solid #e3e3e3;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05);pointer-events:none;opacity:.9;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-select.btn-group .no-results{padding:3px;background:#f5f5f5;margin:0 5px;white-space:nowrap}.bootstrap-select.btn-group.fit-width .dropdown-toggle .filter-option{position:static}.bootstrap-select.btn-group.fit-width .dropdown-toggle .caret{position:static;top:auto;margin-top:-1px}.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark{position:absolute;display:inline-block;right:15px;margin-top:5px}.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text{margin-right:34px}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle{z-index:1061}.bootstrap-select.show-menu-arrow .dropdown-toggle:before{content:'';border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(204,204,204,.2);position:absolute;bottom:-4px;left:9px;display:none}.bootstrap-select.show-menu-arrow .dropdown-toggle:after{content:'';border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;bottom:-4px;left:10px;display:none}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before{bottom:auto;top:-3px;border-top:7px solid rgba(204,204,204,.2);border-bottom:0}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after{bottom:auto;top:-3px;border-top:6px solid #fff;border-bottom:0}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before{right:12px;left:auto}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after{right:13px;left:auto}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:after,.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:before{display:block}.bs-actionsbox,.bs-donebutton,.bs-searchbox{padding:4px 8px}.bs-actionsbox{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bs-actionsbox .btn-group button{width:50%}.bs-donebutton{float:left;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bs-donebutton .btn-group button{width:100%}.bs-searchbox+.bs-actionsbox{padding:0 8px 4px}.bs-searchbox .form-control{margin-bottom:0;width:100%;float:none}
...\ No newline at end of file ...\ No newline at end of file
1 (function (global, factory) {
2 typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3 typeof define === 'function' && define.amd ? define(factory) :
4 (global.jqueryI18next = factory());
5 }(this, (function () { 'use strict';
6
7 var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
8
9 var defaults = {
10 tName: 't',
11 i18nName: 'i18n',
12 handleName: 'localize',
13 selectorAttr: 'data-i18n',
14 targetAttr: 'i18n-target',
15 optionsAttr: 'i18n-options',
16 useOptionsAttr: false,
17 parseDefaultValueFromContent: true
18 };
19
20 function init(i18next, $) {
21 var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
22
23
24 options = _extends({}, defaults, options);
25
26 function parse(ele, key, opts) {
27 if (key.length === 0) return;
28
29 var attr = 'text';
30
31 if (key.indexOf('[') === 0) {
32 var parts = key.split(']');
33 key = parts[1];
34 attr = parts[0].substr(1, parts[0].length - 1);
35 }
36
37 if (key.indexOf(';') === key.length - 1) {
38 key = key.substr(0, key.length - 2);
39 }
40
41 function extendDefault(o, val) {
42 if (!options.parseDefaultValueFromContent) return o;
43 return _extends({}, o, { defaultValue: val });
44 }
45
46 if (attr === 'html') {
47 ele.html(i18next.t(key, extendDefault(opts, ele.html())));
48 } else if (attr === 'text') {
49 ele.text(i18next.t(key, extendDefault(opts, ele.text())));
50 } else if (attr === 'prepend') {
51 ele.prepend(i18next.t(key, extendDefault(opts, ele.html())));
52 } else if (attr === 'append') {
53 ele.append(i18next.t(key, extendDefault(opts, ele.html())));
54 } else if (attr.indexOf('data-') === 0) {
55 var dataAttr = attr.substr('data-'.length);
56 var translated = i18next.t(key, extendDefault(opts, ele.data(dataAttr)));
57
58 // we change into the data cache
59 ele.data(dataAttr, translated);
60 // we change into the dom
61 ele.attr(attr, translated);
62 } else {
63 ele.attr(attr, i18next.t(key, extendDefault(opts, ele.attr(attr))));
64 }
65 }
66
67 function localize(ele, opts) {
68 var key = ele.attr(options.selectorAttr);
69 if (!key && typeof key !== 'undefined' && key !== false) key = ele.text() || ele.val();
70 if (!key) return;
71
72 var target = ele,
73 targetSelector = ele.data(options.targetAttr);
74
75 if (targetSelector) target = ele.find(targetSelector) || ele;
76
77 if (!opts && options.useOptionsAttr === true) opts = ele.data(options.optionsAttr);
78
79 opts = opts || {};
80
81 if (key.indexOf(';') >= 0) {
82 var keys = key.split(';');
83
84 $.each(keys, function (m, k) {
85 // .trim(): Trim the comma-separated parameters on the data-i18n attribute.
86 if (k !== '') parse(target, k.trim(), opts);
87 });
88 } else {
89 parse(target, key, opts);
90 }
91
92 if (options.useOptionsAttr === true) {
93 var clone = {};
94 clone = _extends({ clone: clone }, opts);
95
96 delete clone.lng;
97 ele.data(options.optionsAttr, clone);
98 }
99 }
100
101 function handle(opts) {
102 return this.each(function () {
103 // localize element itself
104 localize($(this), opts);
105
106 // localize children
107 var elements = $(this).find('[' + options.selectorAttr + ']');
108 elements.each(function () {
109 localize($(this), opts);
110 });
111 });
112 };
113
114 // $.t $.i18n shortcut
115 $[options.tName] = i18next.t.bind(i18next);
116 $[options.i18nName] = i18next;
117
118 // selector function $(mySelector).localize(opts);
119 $.fn[options.handleName] = handle;
120 }
121
122 var index = {
123 init: init
124 };
125
126 return index;
127
128 })));
...\ No newline at end of file ...\ No newline at end of file
1 (function($) {
2 var ColorHex=new Array('00','33','66','99','CC','FF');
3 var SpColorHex=new Array('FF0000','00FF00','0000FF','FFFF00','00FFFF','FF00FF');
4 $.fn.colorpicker = function(options) {
5 var opts = jQuery.extend({}, jQuery.fn.colorpicker.defaults, options);
6 initColor();
7 return this.each(function(){
8 var obj = $(this);
9 obj.unbind(opts.event).bind(opts.event,function(){
10 if($("#colorpanel").is(':visible')){
11 $("#colorpanel").hide(500);
12 return;
13 }
14 //定位
15 var ttop = $(this).offset().top; //控件的定位点高
16 var thei = $(this).height(); //控件本身的高
17 var twidth = $(this).width();
18 var tleft = $(this).offset().left; //控件的定位点宽
19 $("#colorpanel").css({
20 top:ttop + thei + 10 + opts.offsetTop,
21 left:tleft + opts.offsetLeft
22 }).show();
23 var target = opts.target ? $(opts.target) : obj;
24 if(target.data("color") == null){
25 target.data("color",target.css("color"));
26 }
27 if(target.data("value") == null){
28 target.data("value",target.val());
29 }
30 $("#CT tr td").unbind("click").mouseover(function(){
31 }).click(function(){
32 var color=$(this).attr("rel");
33 var color1=$(this).css("background-color");
34 $("#DisColor").css("background",color1);
35 $("#HexColor").val(color);
36 color = opts.ishex ? color : getRGBColor(color);
37 if(opts.fillcolor) target.val(color);
38 target.css("color",color);
39 opts.success(color);
40 $("#colorpanel").hide(500);
41 });
42
43 });
44 });
45 function initColor(){
46 if(document.getElementById("colorpanel")){
47 return;
48 }
49 $("body").append('<div id="colorpanel" style="position: absolute;z-index:99999; display: none;"></div>');
50 var colorTable = '';
51 var colorValue = '';
52 for(var i=0;i<2;i++){
53 for(var j=0;j<6;j++){
54 colorTable=colorTable+'<tr height=12>';
55 colorTable=colorTable+'<td width=11 rel="#000000" style="background-color:#000000">';
56 colorValue = i==0 ? ColorHex[j]+ColorHex[j]+ColorHex[j] : SpColorHex[j];
57 colorTable=colorTable+'<td width=11 rel="#'+colorValue+'" style="background-color:#'+colorValue+'">';
58 colorTable=colorTable+'<td width=11 rel="#000000" style="background-color:#000000">';
59 for (var k=0;k<3;k++){
60 for (var l=0;l<6;l++){
61 colorValue = ColorHex[k+i*3]+ColorHex[l]+ColorHex[j];
62 colorTable=colorTable+'<td width=11 rel="#'+colorValue+'" style="background-color:#'+colorValue+'">';
63 }
64 }
65 }
66 }
67 colorTable='<table width=253 border="0" cellspacing="0" cellpadding="0" style="border:1px solid #000;">'
68 +'<tr height=30><td colspan=21 bgcolor=#cccccc>'
69 +'<table cellpadding="0" cellspacing="1" border="0" style="border-collapse: collapse">'
70 +'<tr><td width="5"><td><input type="text" id="DisColor" size="12" disabled style="border:solid 1px #000000;background-color:#ffff00"></td>'
71 +'<td width="5"><td><input type="text" id="HexColor" size="12" style="border:inset 1px;font-family:Arial;" value="#ffff00"></td></tr></table></td></table>'
72 +'<table id="CT" border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="000000" style="cursor:pointer;">'
73 +colorTable+'</table>';
74 $("#colorpanel").html(colorTable);
75 }
76
77 function getRGBColor(color) {
78 var result;
79 if ( color && color.constructor == Array && color.length == 3 )
80 color = color;
81 if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))
82 color = [parseInt(result[1]), parseInt(result[2]), parseInt(result[3])];
83 if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))
84 color =[parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55];
85 if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))
86 color =[parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)];
87 if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))
88 color =[parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];
89 return "rgb("+color[0]+","+color[1]+","+color[2]+")";
90 }
91 };
92 jQuery.fn.colorpicker.defaults = {
93 ishex : true, //是否使用16进制颜色值
94 fillcolor:false, //是否将颜色值填充至对象的val中
95 target: null, //目标对象
96 offsetLeft : 0,
97 offsetTop : 0,
98 event: 'click', //颜色框显示的事件
99 success:function(){}, //回调函数
100 reset:function(){}
101 };
102 })(jQuery);
...\ No newline at end of file ...\ No newline at end of file
1 /*! flip - v1.1.2 - 2016-10-20
2 * https://github.com/nnattawat/flip
3 * Copyright (c) 2016 Nattawat Nonsung; Licensed MIT */
4
5 !function(a){var b=function(){var a,b=document.createElement("fakeelement"),c={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(a in c)if(void 0!==b.style[a])return c[a]},c=function(b,c,d){this.setting={axis:"y",reverse:!1,trigger:"click",speed:500,forceHeight:!1,forceWidth:!1,autoSize:!0,front:".front",back:".back"},this.setting=a.extend(this.setting,c),"string"!=typeof c.axis||"x"!==c.axis.toLowerCase()&&"y"!==c.axis.toLowerCase()||(this.setting.axis=c.axis.toLowerCase()),"boolean"==typeof c.reverse&&(this.setting.reverse=c.reverse),"string"==typeof c.trigger&&(this.setting.trigger=c.trigger.toLowerCase());var e=parseInt(c.speed);isNaN(e)||(this.setting.speed=e),"boolean"==typeof c.forceHeight&&(this.setting.forceHeight=c.forceHeight),"boolean"==typeof c.forceWidth&&(this.setting.forceWidth=c.forceWidth),"boolean"==typeof c.autoSize&&(this.setting.autoSize=c.autoSize),("string"==typeof c.front||c.front instanceof a)&&(this.setting.front=c.front),("string"==typeof c.back||c.back instanceof a)&&(this.setting.back=c.back),this.element=b,this.frontElement=this.getFrontElement(),this.backElement=this.getBackElement(),this.isFlipped=!1,this.init(d)};a.extend(c.prototype,{flipDone:function(a){var c=this;c.element.one(b(),function(){c.element.trigger("flip:done"),"function"==typeof a&&a.call(c.element)})},flip:function(a){if(!this.isFlipped){this.isFlipped=!0;var b="rotate"+this.setting.axis;this.frontElement.css({transform:b+(this.setting.reverse?"(-180deg)":"(180deg)"),"z-index":"0"}),this.backElement.css({transform:b+"(0deg)","z-index":"1"}),this.flipDone(a)}},unflip:function(a){if(this.isFlipped){this.isFlipped=!1;var b="rotate"+this.setting.axis;this.frontElement.css({transform:b+"(0deg)","z-index":"1"}),this.backElement.css({transform:b+(this.setting.reverse?"(180deg)":"(-180deg)"),"z-index":"0"}),this.flipDone(a)}},getFrontElement:function(){return this.setting.front instanceof a?this.setting.front:this.element.find(this.setting.front)},getBackElement:function(){return this.setting.back instanceof a?this.setting.back:this.element.find(this.setting.back)},init:function(a){var b=this,c=b.frontElement.add(b.backElement),d="rotate"+b.setting.axis,e=2*b.element["outer"+("rotatex"===d?"Height":"Width")](),f={perspective:e,position:"relative"},g={transform:d+"("+(b.setting.reverse?"180deg":"-180deg")+")","z-index":"0",position:"relative"},h={"backface-visibility":"hidden","transform-style":"preserve-3d",position:"absolute","z-index":"1"};b.setting.forceHeight?c.outerHeight(b.element.height()):b.setting.autoSize&&(h.height="100%"),b.setting.forceWidth?c.outerWidth(b.element.width()):b.setting.autoSize&&(h.width="100%"),(window.chrome||window.Intl&&Intl.v8BreakIterator)&&"CSS"in window&&(f["-webkit-transform-style"]="preserve-3d"),c.css(h).find("*").css({"backface-visibility":"hidden"}),b.element.css(f),b.backElement.css(g),setTimeout(function(){var d=b.setting.speed/1e3||.5;c.css({transition:"all "+d+"s ease-out"}),"function"==typeof a&&a.call(b.element)},20),b.attachEvents()},clickHandler:function(b){b||(b=window.event),this.element.find(a(b.target).closest('button, a, input[type="submit"]')).length||(this.isFlipped?this.unflip():this.flip())},hoverHandler:function(){var b=this;b.element.off("mouseleave.flip"),b.flip(),setTimeout(function(){b.element.on("mouseleave.flip",a.proxy(b.unflip,b)),b.element.is(":hover")||b.unflip()},b.setting.speed+150)},attachEvents:function(){var b=this;"click"===b.setting.trigger?b.element.on(a.fn.tap?"tap.flip":"click.flip",a.proxy(b.clickHandler,b)):"hover"===b.setting.trigger&&(b.element.on("mouseenter.flip",a.proxy(b.hoverHandler,b)),b.element.on("mouseleave.flip",a.proxy(b.unflip,b)))},flipChanged:function(a){this.element.trigger("flip:change"),"function"==typeof a&&a.call(this.element)},changeSettings:function(a,b){var c=this,d=!1;if(void 0!==a.axis&&c.setting.axis!==a.axis.toLowerCase()&&(c.setting.axis=a.axis.toLowerCase(),d=!0),void 0!==a.reverse&&c.setting.reverse!==a.reverse&&(c.setting.reverse=a.reverse,d=!0),d){var e=c.frontElement.add(c.backElement),f=e.css(["transition-property","transition-timing-function","transition-duration","transition-delay"]);e.css({transition:"none"});var g="rotate"+c.setting.axis;c.isFlipped?c.frontElement.css({transform:g+(c.setting.reverse?"(-180deg)":"(180deg)"),"z-index":"0"}):c.backElement.css({transform:g+(c.setting.reverse?"(180deg)":"(-180deg)"),"z-index":"0"}),setTimeout(function(){e.css(f),c.flipChanged(b)},0)}else c.flipChanged(b)}}),a.fn.flip=function(b,d){return"function"==typeof b&&(d=b),"string"==typeof b||"boolean"==typeof b?this.each(function(){var c=a(this).data("flip-model");"toggle"===b&&(b=!c.isFlipped),b?c.flip(d):c.unflip(d)}):this.each(function(){if(a(this).data("flip-model")){var e=a(this).data("flip-model");!b||void 0===b.axis&&void 0===b.reverse||e.changeSettings(b,d)}else a(this).data("flip-model",new c(a(this),b||{},d))}),this}}(jQuery);
6 //# sourceMappingURL=jquery.flip.min.js.map
...\ No newline at end of file ...\ No newline at end of file
1 /*! Lazy Load 1.9.7 - MIT license - Copyright 2010-2015 Mika Tuupola */
2 !function(a,b,c,d){var e=a(b);a.fn.lazyload=function(f){function g(){var b=0;i.each(function(){var c=a(this);if(!j.skip_invisible||c.is(":visible"))if(a.abovethetop(this,j)||a.leftofbegin(this,j));else if(a.belowthefold(this,j)||a.rightoffold(this,j)){if(++b>j.failure_limit)return!1}else c.trigger("appear"),b=0})}var h,i=this,j={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:b,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return f&&(d!==f.failurelimit&&(f.failure_limit=f.failurelimit,delete f.failurelimit),d!==f.effectspeed&&(f.effect_speed=f.effectspeed,delete f.effectspeed),a.extend(j,f)),h=j.container===d||j.container===b?e:a(j.container),0===j.event.indexOf("scroll")&&h.bind(j.event,function(){return g()}),this.each(function(){var b=this,c=a(b);b.loaded=!1,(c.attr("src")===d||c.attr("src")===!1)&&c.is("img")&&c.attr("src",j.placeholder),c.one("appear",function(){if(!this.loaded){if(j.appear){var d=i.length;j.appear.call(b,d,j)}a("<img />").bind("load",function(){var d=c.attr("data-"+j.data_attribute);c.hide(),c.is("img")?c.attr("src",d):c.css("background-image","url('"+d+"')"),c[j.effect](j.effect_speed),b.loaded=!0;var e=a.grep(i,function(a){return!a.loaded});if(i=a(e),j.load){var f=i.length;j.load.call(b,f,j)}}).attr("src",c.attr("data-"+j.data_attribute))}}),0!==j.event.indexOf("scroll")&&c.bind(j.event,function(){b.loaded||c.trigger("appear")})}),e.bind("resize",function(){g()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&e.bind("pageshow",function(b){b.originalEvent&&b.originalEvent.persisted&&i.each(function(){a(this).trigger("appear")})}),a(c).ready(function(){g()}),this},a.belowthefold=function(c,f){var g;return g=f.container===d||f.container===b?(b.innerHeight?b.innerHeight:e.height())+e.scrollTop():a(f.container).offset().top+a(f.container).height(),g<=a(c).offset().top-f.threshold},a.rightoffold=function(c,f){var g;return g=f.container===d||f.container===b?e.width()+e.scrollLeft():a(f.container).offset().left+a(f.container).width(),g<=a(c).offset().left-f.threshold},a.abovethetop=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollTop():a(f.container).offset().top,g>=a(c).offset().top+f.threshold+a(c).height()},a.leftofbegin=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollLeft():a(f.container).offset().left,g>=a(c).offset().left+f.threshold+a(c).width()},a.inviewport=function(b,c){return!(a.rightoffold(b,c)||a.leftofbegin(b,c)||a.belowthefold(b,c)||a.abovethetop(b,c))},a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-screen":function(b){return a.rightoffold(b,{threshold:0})},"left-of-screen":function(b){return!a.rightoffold(b,{threshold:0})},"in-viewport":function(b){return a.inviewport(b,{threshold:0})},"above-the-fold":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-fold":function(b){return a.rightoffold(b,{threshold:0})},"left-of-fold":function(b){return!a.rightoffold(b,{threshold:0})}})}(jQuery,window,document);
...\ No newline at end of file ...\ No newline at end of file
1 /**
2 * Copyright (c) 2007-2015 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com
3 * Licensed under MIT
4 * @author Ariel Flesler
5 * @version 2.1.2
6 */
7 ;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1<b.axis.length;u&&(d/=2);b.offset=h(b.offset);b.over=h(b.over);return this.each(function(){function k(a){var k=$.extend({},b,{queue:!0,duration:d,complete:a&&function(){a.call(q,e,b)}});r.animate(f,k)}if(null!==a){var l=n(this),q=l?this.contentWindow||window:this,r=$(q),e=a,f={},t;switch(typeof e){case "number":case "string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(e)){e= h(e);break}e=l?$(e):$(e,q);case "object":if(e.length===0)return;if(e.is||e.style)t=(e=$(e)).offset()}var v=$.isFunction(b.offset)&&b.offset(q,e)||b.offset;$.each(b.axis.split(""),function(a,c){var d="x"===c?"Left":"Top",m=d.toLowerCase(),g="scroll"+d,h=r[g](),n=p.max(q,c);t?(f[g]=t[m]+(l?0:h-r.offset()[m]),b.margin&&(f[g]-=parseInt(e.css("margin"+d),10)||0,f[g]-=parseInt(e.css("border"+d+"Width"),10)||0),f[g]+=v[m]||0,b.over[m]&&(f[g]+=e["x"===c?"width":"height"]()*b.over[m])):(d=e[m],f[g]=d.slice&& "%"===d.slice(-1)?parseFloat(d)/100*n:d);b.limit&&/^\d+$/.test(f[g])&&(f[g]=0>=f[g]?0:Math.min(f[g],n));!a&&1<b.axis.length&&(h===f[g]?f={}:u&&(k(b.onAfterFirst),f={}))});k(b.onAfter)}})};p.max=function(a,d){var b="x"===d?"Width":"Height",h="scroll"+b;if(!n(a))return a[h]-$(a)[b.toLowerCase()]();var b="client"+b,k=a.ownerDocument||a.document,l=k.documentElement,k=k.body;return Math.max(l[h],k[h])-Math.min(l[b],k[b])};$.Tween.propHooks.scrollLeft=$.Tween.propHooks.scrollTop={get:function(a){return $(a.elem)[a.prop]()}, set:function(a){var d=this.get(a);if(a.options.interrupt&&a._last&&a._last!==d)return $(a.elem).stop();var b=Math.round(a.now);d!==b&&($(a.elem)[a.prop](b),a._last=this.get(a))}};return p});
...\ No newline at end of file ...\ No newline at end of file
1 L.supermap.plotting.initPlotPanel = function(div, serverUrl, drawControl,plotEditControl){
2 var plotPanel = document.getElementById(div);
3
4 var treeNodeStyle = document.createElement("div");
5 treeNodeStyle.style.height = '50%';
6 treeNodeStyle.style.width = '100%';
7 treeNodeStyle.style.border = '1px solid #617775';
8 treeNodeStyle.style.overflow ='scroll';
9
10 var treeNode = document.createElement("div");
11 treeNode.id = "tree";
12 treeNode.className = "ztree";
13
14 var iconNodeStyle = document.createElement("div");
15 iconNodeStyle.style.height = '50%';
16 iconNodeStyle.style.width = '100%';
17
18 var iconNode = document.createElement("div");
19 iconNode.id = "icon";
20 iconNode.style.height = '100%';
21 iconNode.style.width = '100%';
22 iconNode.style.border = '1px solid #617775';
23 iconNode.style.overflow ='scroll';
24
25 treeNodeStyle.appendChild(treeNode);
26 iconNodeStyle.appendChild(iconNode);
27
28 plotPanel.appendChild(treeNodeStyle);
29 plotPanel.appendChild(iconNodeStyle);
30
31 function beforeClickTreeNode(treeId, treeNode){
32 var tree = $.fn.zTree.getZTreeObj(treeId);
33 if (treeNode.isParent) {
34 tree.expandNode(treeNode);
35 return false;
36 } else {
37 var iconNode = document.getElementById("icon");
38 iconNode.innerHTML = "";
39 createDrawNodes(treeNode, iconNode, drawControl, serverUrl);
40 }
41 }
42
43 var setting = {
44 view: {
45 dblClickExpand: false,
46 showLine: true,
47 selectedMulti: false
48 },
49 data: {
50 simpleData: {
51 enable:true,
52 idKey: "id",
53 pIdKey: "pId",
54 rootPId: 0
55 }
56 },
57 callback: {
58 beforeClick: beforeClickTreeNode
59 }
60 };
61
62 var symbolLibManager = L.supermap.plotting.symbolLibManager(serverUrl);
63 if(symbolLibManager.isInitializeOK()){
64 var symbolTreeData = analysisSymbolTree(symbolLibManager);
65
66 $.fn.zTree.init($("#tree"), setting, symbolTreeData);
67 } else {
68 symbolLibManager.on(SuperMap.Plot.Event.initializecompleted, function(result){
69 if(result.libIDs.length !== 0){
70 var symbolTreeData = analysisSymbolTree(symbolLibManager);
71 $.fn.zTree.init($("#tree"), setting, symbolTreeData);
72 }});
73 symbolLibManager.initializeAsync();
74 }
75 }
76
77 function analysisSymbolTree(symbolLibManager) {
78 var treeData = [];
79 var idIndex = addBasicCellTreeNodes(treeData);
80
81 for(var i = 0; i < symbolLibManager.getSymbolLibNumber(); i++){
82 var symbolLib = symbolLibManager.getSymbolLibByIndex(i);
83 var rootSymbolInfo = symbolLib.getRootSymbolInfo();
84 var rootSymbolIconUrl = symbolLib.getRootSymbolIconUrl();
85
86 if(rootSymbolInfo.symbolNodeType === "SYMBOL_GROUP"){
87 var rootNode = new Object();
88 rootNode.id = idIndex+i;
89 rootNode.pId = 0;
90 rootNode.name = rootSymbolInfo.symbolName;
91 rootNode.fullName = rootSymbolInfo.symbolName +"/";
92 treeData.push(rootNode);
93
94 idIndex = innerAnalysisSymbolTree(rootSymbolInfo.childNodes, treeData, rootNode, rootSymbolIconUrl);
95 }
96
97 }
98
99 return treeData;
100 }
101
102 function createDrawNodes(treeNode, iconNode, drawControl, serverUrl){
103 var drawNodeClick = function(){
104 if(drawControl !== null){
105 drawControl.deactivate();
106 drawControl.libID = this.libID;
107 drawControl.code = this.symbolCode;
108 drawControl.serverUrl = this.serverUrl;
109
110 drawControl.activate();
111 if(undefined !== plotEditControl){
112 plotEditControl.deactivate();
113 }
114 }
115 }
116
117 var me = this;
118 var drawData = treeNode.drawData;
119
120 var table = document.createElement("table");
121 table.style.height = "100%";
122 table.style.width = "100%";
123 var i = 0;
124 var rowLength = (drawData.length%3 === 0) ? drawData.length/3 : drawData.length/3+1;
125 for(var j = 0; j < rowLength; j++){
126 var tr = document.createElement("tr");
127 for(var k = 0; k < 3; k++){
128 if(drawData[i]){
129 //存储菜单信息
130 var td = document.createElement("td");
131 var drawNode = document.createElement("div");
132 drawNode.onclick = drawNodeClick;
133 drawNode.style.textAlign = "center";
134 drawNode.id = drawData[i].libID+ ""+ drawData[i].symbolCode;
135 drawNode.libID = drawData[i].libID;
136 drawNode.symbolCode = drawData[i].symbolCode;
137 drawNode.serverUrl = serverUrl;
138 //图片
139 var img = document.createElement("img");
140 img.src = drawData[i].icon;
141 //文本
142 var text = document.createElement("div");
143 text.innerHTML = drawData[i].symbolName;
144
145 drawNode.appendChild(img);
146 drawNode.appendChild(text);
147 td.appendChild(drawNode);
148
149 tr.appendChild(td);
150 }
151 i++;
152 }
153 table.appendChild(tr);
154 }
155
156 iconNode.appendChild(table);
157 }
158
159 function addBasicCellTreeNodes(treeData){
160 var cellRootNode = new Object();
161 cellRootNode.id = 1;
162 cellRootNode.pId = 0;
163 cellRootNode.name = "基本标号";
164 cellRootNode.fullName = "BasicCell" +"/";
165 cellRootNode.drawData = [];
166 treeData.push(cellRootNode);
167
168 var symbolCode = [24, 28, 29, 31, 34, 410, 32, 590, 360, 390, 400, 350, 26, 370, 380, 44, 48, /*320,*/
169 1019, 1022, /*1024, 321,*/ 1023, 1025, 1013, 1014, /*1016, 1017, 1026,*/ 1001 /*1003, 1004*/];
170 var symbolName = ["折线", "平行四边形", "圆", "椭圆", "注记", "正多边形", "多边形", "贝塞尔曲线", "闭合贝塞尔曲线",
171 "集结地", "大括号", "梯形", "矩形", "弓形", "扇形", "弧线", "平行线", /*"注记指示框",*/ "同心圆", "组合圆",
172 /*"标注框", "多角标注框",*/ "自由线", "节点链", "跑道形", "八字形", /*"箭头线", "沿线注记", "线型标注",*/ "对象间连线"
173 /*"多边形区域", "扇形区域"*/];
174 var cellId = cellRootNode.id + 1;
175 for(var i = 0; i < symbolCode.length; i++){
176 var drawCellNode = {
177 id: cellId++,
178 pId: 0,
179 icon:"js/plotPanelControl/" + cellRootNode.fullName + symbolCode[i] + ".png",
180 symbolCode: symbolCode[i],
181 libID: 0,
182 symbolName: symbolName[i]
183 };
184 cellRootNode.drawData.push(drawCellNode);
185 }
186
187 return cellId;
188 }
189
190
191 function innerAnalysisSymbolTree(childSymbolInfos, treeData, parentNode, rootSymbolIconUrl){
192 var drawData = [];
193 var treeNodeId = parentNode.id+1;
194 for(var i = 0; i < childSymbolInfos.length; i++){
195 if(childSymbolInfos[i].symbolNodeType === "SYMBOL_GROUP"){
196 var treeNode = new Object();
197 treeNode.id = treeNodeId++;
198 treeNode.pId = parentNode.id;
199 treeNode.name = childSymbolInfos[i].symbolName;
200 treeNode.fullName = parentNode.fullName + childSymbolInfos[i].symbolName+"/";
201 treeData.push(treeNode);
202
203 treeNodeId = innerAnalysisSymbolTree(childSymbolInfos[i].childNodes, treeData, treeNode, rootSymbolIconUrl);
204 } else if(childSymbolInfos[i].symbolNodeType === "SYMBOL_NODE"){
205 var drawNode = new Object();
206 drawNode.id = treeNodeId++;
207 drawNode.pId = parentNode.id;
208 drawNode.icon = rootSymbolIconUrl + parentNode.fullName + childSymbolInfos[i].symbolCode + ".png";
209 drawNode.symbolCode = childSymbolInfos[i].symbolCode;
210 drawNode.libID = childSymbolInfos[i].libID;
211 drawNode.symbolName = childSymbolInfos[i].symbolName + "_" + childSymbolInfos[i].symbolCode;
212 drawData.push(drawNode);
213 }
214 }
215
216 if(drawData.length !== 0){
217 parentNode.drawData = drawData;
218 }
219
220 return treeNodeId;
221 }
...\ No newline at end of file ...\ No newline at end of file
1 (function() {
2 // var isWinRT = (typeof Windows === "undefined") ? false : true;
3 var r = new RegExp("(^|(.*?\\/))(PlottingUI.Include\.js)(\\?|$)"),
4 s = document.getElementsByTagName('script'),
5 src, m, baseurl = "";
6 for(var i=0, len=s.length; i<len; i++) {
7 src = s[i].getAttribute('src');
8 if(src) {
9 var m = src.match(r);
10 if(m) {
11 baseurl = m[1];
12 break;
13 }
14 }
15 }
16 function inputScript(inc){
17 // if (!isWinRT) {
18 var script = '<' + 'script type="text/javascript" src="' + inc + '"' + '><' + '/script>';
19 document.writeln(script);
20 // } else {
21 // var script = document.createElement("script");
22 // script.src = inc;
23 // document.getElementsByTagName("HEAD")[0].appendChild(script);
24 // }
25 }
26 //加载类库资源文件
27 function loadSMLibs() {
28 inputScript(baseurl+'PlottingUI.js');
29 }
30 loadSMLibs();
31 })();
1 //var isWinRT = (typeof Windows === "undefined") ? false : true;
2 {
3 inputLink("colorpicker/css/colorpicker.css");
4 inputLink("colorpicker/css/layout.css");
5 inputLink("jquery-easyui-1.4.4/css/easyui.css");
6 inputLink("zTree/css/zTreeStyle.css");
7
8 inputScript("jquery-easyui-1.4.4/jquery.min.js");
9 inputScript("jquery-easyui-1.4.4/jquery-ui.js");
10 inputScript("jquery-easyui-1.4.4/jquery.easyui.min.js");
11
12 inputScript("colorpicker/js/colorpicker.js");
13 inputScript("colorpicker/js/colorpickerEditor.js");
14 inputScript("colorpicker/js/eye.js");
15 inputScript("colorpicker/js/utils.js");
16 inputScript("colorpicker/js/layout.js");
17
18 inputScript("zTree/jquery.ztree.core.js");
19
20 inputScript("./PlotPanel.js");
21 inputScript("./StylePanel.js");
22 // inputScript("TreePanel.js");
23
24 }
25
26 function inputLink(inc){
27 //if (!isWinRT) {
28 var link = '<' + 'link rel="stylesheet" type="text/css" media="screen,projection" href="js/plotPanelControl/' + inc + '"' + '><' + '/>';
29 document.writeln(link);
30 //} else {
31 // var link = document.createElement("link");
32 // link.href = "../PlottingPanel/zTree/" + inc;
33 // document.getElementsByTagName("HEAD")[0].appendChild(link);
34 //}
35 }
36
37 function inputScript(inc){
38 //if (!isWinRT) {
39 var script = '<' + 'script type="text/javascript" src="js/plotPanelControl/' + inc + '"' + '><' + '/script>';
40 document.writeln(script);
41 //} else {
42 // var script = document.createElement("script");
43 // script.src = "../PlottingPanel/zTree/" + inc;
44 // document.getElementsByTagName("HEAD")[0].appendChild(script);
45 //}
46 }
1 .colorpicker {
2 width: 356px;
3 height: 176px;
4 overflow: hidden;
5 position: absolute;
6 background: url(../images/colorpicker_background.png);
7 font-family: Arial, Helvetica, sans-serif;
8 display: none;
9 z-index: 99;
10 }
11 .colorpicker_color {
12 width: 150px;
13 height: 150px;
14 left: 14px;
15 top: 13px;
16 position: absolute;
17 background: #f00;
18 overflow: hidden;
19 cursor: crosshair;
20 }
21 .colorpicker_color div {
22 position: absolute;
23 top: 0;
24 left: 0;
25 width: 150px;
26 height: 150px;
27 background: url(../images/colorpicker_overlay.png);
28 }
29 .colorpicker_color div div {
30 position: absolute;
31 top: 0;
32 left: 0;
33 width: 11px;
34 height: 11px;
35 overflow: hidden;
36 background: url(../images/colorpicker_select.gif);
37 margin: -5px 0 0 -5px;
38 }
39 .colorpicker_hue {
40 position: absolute;
41 top: 13px;
42 left: 171px;
43 width: 35px;
44 height: 150px;
45 cursor: n-resize;
46 }
47 .colorpicker_hue div {
48 position: absolute;
49 width: 35px;
50 height: 9px;
51 overflow: hidden;
52 background: url(../images/colorpicker_indic.gif) left top;
53 margin: -4px 0 0 0;
54 left: 0px;
55 }
56 .colorpicker_new_color {
57 position: absolute;
58 width: 60px;
59 height: 30px;
60 left: 213px;
61 top: 13px;
62 background: #f00;
63 }
64 .colorpicker_current_color {
65 position: absolute;
66 width: 60px;
67 height: 30px;
68 left: 283px;
69 top: 13px;
70 background: #f00;
71 }
72 .colorpicker input {
73 background-color: transparent;
74 border: 1px solid transparent;
75 position: absolute;
76 font-size: 10px;
77 font-family: Arial, Helvetica, sans-serif;
78 color: #898989;
79 top: 4px;
80 right: 11px;
81 text-align: right;
82 margin: 0;
83 padding: 0;
84 height: 11px;
85 }
86 .colorpicker_hex {
87 position: absolute;
88 width: 72px;
89 height: 22px;
90 background: url(../images/colorpicker_hex.png) top;
91 left: 212px;
92 top: 142px;
93 }
94 .colorpicker_hex input {
95 right: 6px;
96 }
97 .colorpicker_field {
98 height: 22px;
99 width: 62px;
100 background-position: top;
101 position: absolute;
102 }
103 .colorpicker_field span {
104 position: absolute;
105 width: 12px;
106 height: 22px;
107 overflow: hidden;
108 top: 0;
109 right: 0;
110 cursor: n-resize;
111 }
112 .colorpicker_rgb_r {
113 background-image: url(../images/colorpicker_rgb_r.png);
114 top: 52px;
115 left: 212px;
116 }
117 .colorpicker_rgb_g {
118 background-image: url(../images/colorpicker_rgb_g.png);
119 top: 82px;
120 left: 212px;
121 }
122 .colorpicker_rgb_b {
123 background-image: url(../images/colorpicker_rgb_b.png);
124 top: 112px;
125 left: 212px;
126 }
127 .colorpicker_hsb_h {
128 background-image: url(../images/colorpicker_hsb_h.png);
129 top: 52px;
130 left: 282px;
131 }
132 .colorpicker_hsb_s {
133 background-image: url(../images/colorpicker_hsb_s.png);
134 top: 82px;
135 left: 282px;
136 }
137 .colorpicker_hsb_b {
138 background-image: url(../images/colorpicker_hsb_b.png);
139 top: 112px;
140 left: 282px;
141 }
142 .colorpicker_submit {
143 position: absolute;
144 width: 22px;
145 height: 22px;
146 background: url(../images/colorpicker_submit.png) top;
147 left: 322px;
148 top: 142px;
149 overflow: hidden;
150 }
151 .colorpicker_focus {
152 background-position: center;
153 }
154 .colorpicker_hex.colorpicker_focus {
155 background-position: bottom;
156 }
157 .colorpicker_submit.colorpicker_focus {
158 background-position: bottom;
159 }
160 .colorpicker_slider {
161 background-position: bottom;
162 }
1 body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
2 margin:0;
3 padding:0;
4 }
5 table {
6 border-collapse:collapse;
7 border-spacing:0;
8 }
9 fieldset,img {
10 border:0;
11 }
12 address,caption,cite,code,dfn,em,strong,th,var {
13 font-style:normal;
14 font-weight:normal;
15 }
16 ol,ul {
17 list-style:none;
18 }
19 caption,th {
20 text-align:left;
21 }
22 h1,h2,h3,h4,h5,h6 {
23 font-size:100%;
24 font-weight:normal;
25 }
26 q:before,q:after {
27 content:'';
28 }
29 abbr,acronym { border:0;
30 }
31 html, body {
32 background-color: #fff;
33 font-family: Arial, Helvetica, sans-serif;
34 font-size: 12px;
35 line-height: 18px;
36 color: #52697E;
37 }
38 body {
39 overflow: auto;
40 }
41 .wrapper {
42 width: 700px;
43 margin: 0 auto;
44 text-align: left;
45 }
46 h1 {
47 font-size: 21px;
48 height: 47px;
49 line-height: 47px;
50 text-transform: uppercase;
51 }
52 .navigationTabs {
53 height: 23px;
54 line-height: 23px;
55 border-bottom: 1px solid #ccc;
56 }
57 .navigationTabs li {
58 float: left;
59 height: 23px;
60 line-height: 23px;
61 padding-right: 3px;
62 }
63 .navigationTabs li a{
64 float: left;
65 dispaly: block;
66 height: 23px;
67 line-height: 23px;
68 padding: 0 10px;
69 overflow: hidden;
70 color: #52697E;
71 background-color: #eee;
72 position: relative;
73 text-decoration: none;
74 }
75 .navigationTabs li a:hover {
76 background-color: #f0f0f0;
77 }
78 .navigationTabs li a.active {
79 background-color: #fff;
80 border: 1px solid #ccc;
81 border-bottom: 0px solid;
82 }
83 .tabsContent {
84 border: 1px solid #ccc;
85 border-top: 0px solid;
86 width: 698px;
87 overflow: hidden;
88 }
89 .tab {
90 padding: 16px;
91 display: none;
92 }
93 .tab h2 {
94 font-weight: bold;
95 font-size: 16px;
96 }
97 .tab h3 {
98 font-weight: bold;
99 font-size: 14px;
100 margin-top: 20px;
101 }
102 .tab p {
103 margin-top: 16px;
104 clear: both;
105 }
106 .tab ul {
107 margin-top: 16px;
108 list-style: disc;
109 }
110 .tab li {
111 margin: 10px 0 0 35px;
112 }
113 .tab a {
114 color: #8FB0CF;
115 }
116 .tab strong {
117 font-weight: bold;
118 }
119 .tab pre {
120 font-size: 11px;
121 margin-top: 20px;
122 width: 668px;
123 overflow: auto;
124 clear: both;
125 }
126 .tab table {
127 width: 100%;
128 }
129 .tab table td {
130 padding: 6px 10px 6px 0;
131 vertical-align: top;
132 }
133 .tab dt {
134 margin-top: 16px;
135 }
136
137 #colorSelector {
138 position: relative;
139 width: 36px;
140 height: 36px;
141 background: url(../images/select.png);
142 }
143 #colorSelector div {
144 position: absolute;
145 top: 3px;
146 left: 3px;
147 width: 30px;
148 height: 30px;
149 background: url(../images/select.png) center;
150 }
151 #colorSelector2 {
152 position: absolute;
153 top: 0;
154 left: 0;
155 width: 36px;
156 height: 36px;
157 background: url(../images/select2.png);
158 }
159 #colorSelector2 div {
160 position: absolute;
161 top: 4px;
162 left: 4px;
163 width: 28px;
164 height: 28px;
165 background: url(../images/select2.png) center;
166 }
167 #colorpickerHolder2 {
168 top: 32px;
169 left: 0;
170 width: 356px;
171 height: 0;
172 overflow: hidden;
173 position: absolute;
174 }
175 #colorpickerHolder2 .colorpicker {
176 background-image: url(../images/custom_background.png);
177 position: absolute;
178 bottom: 0;
179 left: 0;
180 }
181 #colorpickerHolder2 .colorpicker_hue div {
182 background-image: url(../images/custom_indic.gif);
183 }
184 #colorpickerHolder2 .colorpicker_hex {
185 background-image: url(../images/custom_hex.png);
186 }
187 #colorpickerHolder2 .colorpicker_rgb_r {
188 background-image: url(../images/custom_rgb_r.png);
189 }
190 #colorpickerHolder2 .colorpicker_rgb_g {
191 background-image: url(../images/custom_rgb_g.png);
192 }
193 #colorpickerHolder2 .colorpicker_rgb_b {
194 background-image: url(../images/custom_rgb_b.png);
195 }
196 #colorpickerHolder2 .colorpicker_hsb_s {
197 background-image: url(../images/custom_hsb_s.png);
198 display: none;
199 }
200 #colorpickerHolder2 .colorpicker_hsb_h {
201 background-image: url(../images/custom_hsb_h.png);
202 display: none;
203 }
204 #colorpickerHolder2 .colorpicker_hsb_b {
205 background-image: url(../images/custom_hsb_b.png);
206 display: none;
207 }
208 #colorpickerHolder2 .colorpicker_submit {
209 background-image: url(../images/custom_submit.png);
210 }
211 #colorpickerHolder2 .colorpicker input {
212 color: #778398;
213 }
214 #customWidget {
215 position: relative;
216 height: 36px;
217 }
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.