]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | Ext.define('KitchenSink.data.LinearGeoData', {\r |
2 | requires: [\r | |
3 | 'KitchenSink.data.Init'\r | |
4 | ]\r | |
5 | }, function() {\r | |
6 | Ext.ux.ajax.SimManager.register({\r | |
7 | '/KitchenSink/LinearGeoData': {\r | |
8 | type: 'json',\r | |
9 | data: [{\r | |
10 | mtype: 'Territory',\r | |
11 | name: 'North America'\r | |
12 | }, {\r | |
13 | mtype: 'Country',\r | |
14 | name: 'USA',\r | |
15 | parentId: 'North America'\r | |
16 | }, {\r | |
17 | mtype: 'City',\r | |
18 | name: 'Redwood City',\r | |
19 | leaf: true,\r | |
20 | parentId: 'USA'\r | |
21 | }, {\r | |
22 | mtype: 'City',\r | |
23 | name: 'Frederick, MD',\r | |
24 | leaf: true,\r | |
25 | parentId: 'USA'\r | |
26 | }, {\r | |
27 | mtype: 'Country',\r | |
28 | name: 'Canada',\r | |
29 | parentId: 'North America'\r | |
30 | }, {\r | |
31 | mtype: 'City',\r | |
32 | name: 'Vancouver',\r | |
33 | leaf: true,\r | |
34 | parentId: 'Canada'\r | |
35 | }, {\r | |
36 | mtype: 'City',\r | |
37 | name: 'Toronto',\r | |
38 | leaf: true,\r | |
39 | parentId: 'Canada'\r | |
40 | }, {\r | |
41 | mtype: 'Country',\r | |
42 | name: 'Mexico',\r | |
43 | parentId: 'North America'\r | |
44 | }, {\r | |
45 | mtype: 'City',\r | |
46 | name: 'Mexico City',\r | |
47 | leaf: true,\r | |
48 | parentId: 'Mexico'\r | |
49 | }, {\r | |
50 | mtype: 'City',\r | |
51 | name: 'Chihuahua',\r | |
52 | leaf: true,\r | |
53 | parentId: 'Mexico'\r | |
54 | }, {\r | |
55 | mtype: 'Territory',\r | |
56 | name: 'Europe, ME, Africa'\r | |
57 | }, {\r | |
58 | mtype: 'Country',\r | |
59 | name: 'England',\r | |
60 | parentId: 'Europe, ME, Africa'\r | |
61 | }, {\r | |
62 | mtype: 'City',\r | |
63 | name: 'Nottingham',\r | |
64 | leaf: true,\r | |
65 | parentId: 'England'\r | |
66 | }, {\r | |
67 | mtype: 'City',\r | |
68 | name: 'London',\r | |
69 | leaf: true,\r | |
70 | parentId: 'England'\r | |
71 | }, {\r | |
72 | mtype: 'Country',\r | |
73 | name: 'Netherlands',\r | |
74 | parentId: 'Europe, ME, Africa'\r | |
75 | }, {\r | |
76 | mtype: 'City',\r | |
77 | name: 'Amsterdam',\r | |
78 | leaf: true,\r | |
79 | parentId: 'Netherlands'\r | |
80 | }, {\r | |
81 | mtype: 'City',\r | |
82 | name: 'Haaksbergen',\r | |
83 | leaf: true,\r | |
84 | parentId: 'Netherlands'\r | |
85 | }, {\r | |
86 | mtype: 'Country',\r | |
87 | name: 'Italy',\r | |
88 | parentId: 'Europe, ME, Africa'\r | |
89 | }, {\r | |
90 | mtype: 'City',\r | |
91 | name: 'Ferrara',\r | |
92 | leaf: true,\r | |
93 | parentId: 'Italy'\r | |
94 | }, {\r | |
95 | mtype: 'City',\r | |
96 | name: 'Milan',\r | |
97 | leaf: true,\r | |
98 | parentId: 'Italy'\r | |
99 | }, {\r | |
100 | mtype: 'Country',\r | |
101 | name: 'Kenya',\r | |
102 | parentId: 'Europe, ME, Africa'\r | |
103 | }, {\r | |
104 | mtype: 'City',\r | |
105 | name: 'Kampala',\r | |
106 | leaf: true,\r | |
107 | parentId: 'Kenya'\r | |
108 | }, {\r | |
109 | mtype: 'Country',\r | |
110 | name: 'Croatia',\r | |
111 | parentId: 'Europe, ME, Africa'\r | |
112 | }, {\r | |
113 | mtype: 'City',\r | |
114 | name: 'Split',\r | |
115 | leaf: true,\r | |
116 | parentId: 'Croatia'\r | |
117 | }, {\r | |
118 | mtype: 'City',\r | |
119 | name: 'Dubrovnik',\r | |
120 | leaf: true,\r | |
121 | parentId: 'Croatia'\r | |
122 | }, {\r | |
123 | mtype: 'Territory',\r | |
124 | name: 'South America, Caribbean'\r | |
125 | }, {\r | |
126 | mtype: 'Country',\r | |
127 | name: 'Brazil',\r | |
128 | parentId: 'South America, Caribbean'\r | |
129 | }, {\r | |
130 | mtype: 'City',\r | |
131 | name: 'Rio de Janeiro',\r | |
132 | leaf: true,\r | |
133 | parentId: 'Brazil'\r | |
134 | }, {\r | |
135 | mtype: 'City',\r | |
136 | name: 'Brasilia',\r | |
137 | leaf: true,\r | |
138 | parentId: 'Brazil'\r | |
139 | }, {\r | |
140 | mtype: 'Country',\r | |
141 | name: 'Argentina',\r | |
142 | parentId: 'South America, Caribbean'\r | |
143 | }, {\r | |
144 | mtype: 'City',\r | |
145 | name: 'Buenos Aires',\r | |
146 | leaf: true,\r | |
147 | parentId: 'Argentina'\r | |
148 | }, {\r | |
149 | mtype: 'Country',\r | |
150 | name: 'Chile',\r | |
151 | parentId: 'South America, Caribbean'\r | |
152 | }, {\r | |
153 | mtype: 'City',\r | |
154 | name: 'Santiago',\r | |
155 | leaf: true,\r | |
156 | parentId: 'Chile'\r | |
157 | }, {\r | |
158 | mtype: 'Territory',\r | |
159 | name: 'Central and South Asia'\r | |
160 | }, {\r | |
161 | mtype: 'Country',\r | |
162 | name: 'Russian Federation',\r | |
163 | parentId: 'Central and South Asia'\r | |
164 | }, {\r | |
165 | mtype: 'City',\r | |
166 | name: 'Moscow',\r | |
167 | leaf: true,\r | |
168 | parentId: 'Russian Federation'\r | |
169 | }, {\r | |
170 | mtype: 'City',\r | |
171 | name: 'Yekaterinburg',\r | |
172 | leaf: true,\r | |
173 | parentId: 'Russian Federation'\r | |
174 | }, {\r | |
175 | mtype: 'Country',\r | |
176 | name: 'India',\r | |
177 | parentId: 'Central and South Asia'\r | |
178 | }, {\r | |
179 | mtype: 'City',\r | |
180 | name: 'Mumbai',\r | |
181 | leaf: true,\r | |
182 | parentId: 'India'\r | |
183 | }, {\r | |
184 | mtype: 'City',\r | |
185 | name: 'Bangalore',\r | |
186 | leaf: true,\r | |
187 | parentId: 'India'\r | |
188 | }, {\r | |
189 | mtype: 'Country',\r | |
190 | name: 'Kazakhstan',\r | |
191 | parentId: 'Central and South Asia'\r | |
192 | }, {\r | |
193 | mtype: 'City',\r | |
194 | name: 'Astana',\r | |
195 | leaf: true,\r | |
196 | parentId: 'Kazakhstan'\r | |
197 | }, {\r | |
198 | mtype: 'Country',\r | |
199 | name: 'Turkmenistan',\r | |
200 | parentId: 'Central and South Asia'\r | |
201 | }, {\r | |
202 | mtype: 'City',\r | |
203 | name: 'Ashgabat',\r | |
204 | leaf: true,\r | |
205 | parentId: 'Turkmenistan'\r | |
206 | }, {\r | |
207 | mtype: 'Territory',\r | |
208 | name: 'East Asia and Pacific'\r | |
209 | }, {\r | |
210 | mtype: 'Country',\r | |
211 | name: 'Australia',\r | |
212 | parentId: 'East Asia and Pacific'\r | |
213 | }, {\r | |
214 | mtype: 'City',\r | |
215 | name: 'Sydney',\r | |
216 | leaf: true,\r | |
217 | parentId: 'Australia'\r | |
218 | }, {\r | |
219 | mtype: 'City',\r | |
220 | name: 'Canberra',\r | |
221 | leaf: true,\r | |
222 | parentId: 'Australia'\r | |
223 | }, {\r | |
224 | mtype: 'Country',\r | |
225 | name: 'China',\r | |
226 | parentId: 'East Asia and Pacific'\r | |
227 | }, {\r | |
228 | mtype: 'City',\r | |
229 | name: 'Beijing',\r | |
230 | leaf: true,\r | |
231 | parentId: 'China'\r | |
232 | }, {\r | |
233 | mtype: 'City',\r | |
234 | name: 'Chengdu',\r | |
235 | leaf: true,\r | |
236 | parentId: 'China'\r | |
237 | }, {\r | |
238 | mtype: 'Country',\r | |
239 | name: 'Japan',\r | |
240 | parentId: 'East Asia and Pacific'\r | |
241 | }, {\r | |
242 | mtype: 'City',\r | |
243 | name: 'Tokyo',\r | |
244 | leaf: true,\r | |
245 | parentId: 'Japan'\r | |
246 | }, {\r | |
247 | mtype: 'City',\r | |
248 | name: 'Osaka',\r | |
249 | leaf: true,\r | |
250 | parentId: 'Japan'\r | |
251 | }]\r | |
252 | }\r | |
253 | });\r | |
254 | }); |