2 * SAPI Sample Data - Landmark
\r
7 var data_landmark = [{
\r
9 "LandmarkName":"Best food ever!",
\r
10 "LandmarkPosition":{
\r
11 "Latitude":-17.5423,
\r
12 "Longitude":-54.8163,
\r
17 "CategoryInfo":["1"],
\r
18 "LandmarkDesc":"Place looks really nice.",
\r
20 "Country":"Finland",
\r
22 "AreaCode":"FI-70100",
\r
23 "Street":"Plains Road",
\r
24 "Telephone":"+4443433434"
\r
28 "LandmarkName":"Food store",
\r
29 "LandmarkPosition":{
\r
31 "Longitude":-93.4225,
\r
36 "CategoryInfo":["10"],
\r
37 "LandmarkDesc":"Words are not enough to describe this landmark",
\r
39 "Country":"Finland",
\r
40 "City":"St. Michel",
\r
42 "Street":"McKenzie Avenue",
\r
43 "Telephone":"0432443343"
\r
47 "LandmarkName":"Hospital",
\r
48 "LandmarkPosition":{
\r
50 "Longitude":51.4958,
\r
55 "CategoryInfo":["13"],
\r
56 "LandmarkDesc":"Place looks really nice.",
\r
58 "Country":"United States of America",
\r
61 "Street":"Pukershire Avenue",
\r
62 "Telephone":"0565645455"
\r
66 "LandmarkName":"John’s home",
\r
67 "LandmarkPosition":{
\r
69 "Longitude":134.4066,
\r
74 "CategoryInfo":["14"],
\r
75 "LandmarkDesc":"This is my favorite place",
\r
77 "City":"Los Angeles",
\r
79 "Street":"McKenzie Lane",
\r
80 "Telephone":"+35854553456",
\r
85 "LandmarkName":"John’s home",
\r
86 "LandmarkPosition":{
\r
88 "Longitude":113.4183,
\r
93 "CategoryInfo":["3"],
\r
94 "LandmarkDesc":"Words are not enough to describe this landmark",
\r
97 "City":"St. Petersburg",
\r
98 "AreaCode":"FI-70100",
\r
99 "Street":"Windsor Road",
\r
100 "Telephone":"+4465665456"
\r
104 "LandmarkName":"Nice beach",
\r
105 "LandmarkPosition":{
\r
106 "Latitude":-22.0327,
\r
107 "Longitude":-33.0193,
\r
112 "CategoryInfo":["7"],
\r
113 "LandmarkDesc":"This is my favorite place",
\r
115 "Telephone":"+35854553456",
\r
116 "Country":"Finland",
\r
118 "AreaCode":"00310",
\r
119 "Street":"Highland Avenue Extension"
\r
123 "LandmarkName":"Nice view",
\r
124 "LandmarkPosition":{
\r
125 "Latitude":-1.5979999999999999,
\r
126 "Longitude":177.5871,
\r
131 "CategoryInfo":["5"],
\r
132 "LandmarkDesc":"Words are not enough to describe this landmark",
\r
134 "Country":"Thailand",
\r
135 "City":"St. Petersburg",
\r
136 "AreaCode":"00310",
\r
137 "Street":"Pukershire Avenue",
\r
138 "Telephone":"0435445454"
\r
142 "LandmarkName":"Summer cottage",
\r
143 "LandmarkPosition":{
\r
144 "Latitude":-80.6438,
\r
145 "Longitude":78.5627,
\r
150 "CategoryInfo":["11"],
\r
151 "LandmarkDesc":"Place looks really nice.",
\r
153 "Country":"Thailand",
\r
155 "AreaCode":"99002",
\r
156 "Street":"Eastman Street",
\r
157 "Telephone":"+4465665456"
\r
161 "LandmarkName":"Summer cottage",
\r
162 "LandmarkPosition":{
\r
163 "Latitude":23.6319,
\r
164 "Longitude":-141.5323,
\r
169 "CategoryInfo":["1"],
\r
170 "LandmarkDesc":"This is my favorite place",
\r
172 "Country":"Norway",
\r
174 "AreaCode":"FI-70100",
\r
175 "Street":"Windsor Avenue",
\r
176 "Telephone":"0785434444"
\r
180 "LandmarkName":"Work place",
\r
181 "LandmarkPosition":{
\r
183 "Longitude":66.132,
\r
188 "CategoryInfo":["3"],
\r
189 "LandmarkDesc":"Delicious strawberries sold here. Must visit again sometime!",
\r
193 "AreaCode":"99002",
\r
194 "Street":"Barnes Street",
\r
195 "Telephone":"0342303777"
\r
200 var data_category = [{
\r
202 "CategoryName":"Accommodation",
\r
204 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
206 "IconMaskIndex":16385
\r
210 "CategoryName":"Businesses",
\r
212 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
214 "IconMaskIndex":16387
\r
217 "CategoryName":"Telecommunications",
\r
219 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
221 "IconMaskIndex":16389
\r
224 "CategoryName":"Education",
\r
225 "GlobalId":"12000",
\r
226 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
228 "IconMaskIndex":16391
\r
231 "CategoryName":"Entertainment",
\r
232 "GlobalId":"15000",
\r
233 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
235 "IconMaskIndex":16393
\r
238 "CategoryName":"Food and drink",
\r
239 "GlobalId":"18000",
\r
240 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
242 "IconMaskIndex":16395
\r
245 "CategoryName":"Geographical locations",
\r
246 "GlobalId":"21000",
\r
247 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
249 "IconMaskIndex":16397
\r
252 "CategoryName":"Outdoor activities",
\r
253 "GlobalId":"24000",
\r
254 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
256 "IconMaskIndex":16399
\r
259 "CategoryName":"People",
\r
260 "GlobalId":"27000",
\r
261 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
263 "IconMaskIndex":16401
\r
266 "CategoryName":"Public services",
\r
267 "GlobalId":"30000",
\r
268 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
270 "IconMaskIndex":16403
\r
273 "CategoryName":"Places of worship",
\r
274 "GlobalId":"33000",
\r
275 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
277 "IconMaskIndex":16405
\r
280 "CategoryName":"Shopping",
\r
281 "GlobalId":"36000",
\r
282 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
284 "IconMaskIndex":16407
\r
287 "CategoryName":"Sightseeing",
\r
288 "GlobalId":"39000",
\r
289 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
291 "IconMaskIndex":16409
\r
294 "CategoryName":"Sports",
\r
295 "GlobalId":"42000",
\r
296 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
298 "IconMaskIndex":16411
\r
301 "CategoryName":"Transport",
\r
302 "GlobalId":"45000",
\r
303 "IconFile":"\resource\apps\eposlmglcategories.mif",
\r
305 "IconMaskIndex":16413
\r
308 "CategoryName":"All places",
\r
309 "IconFile":"Z:\resource\apps\smart2go.mif",
\r
311 "IconMaskIndex":16385
\r
314 "CategoryName":"Nokia maps",
\r
315 "IconFile":"Z:\resource\apps\LmkUi.mif",
\r
317 "IconMaskIndex":16403
\r
320 var data_database = [{
\r
321 "DatabaseURI":"file://C:eposlm.ldb",
\r
323 "DbProtocol":"file",
\r
334 device.implementation.loadData('Service.Landmarks', 'Landmark', data_landmark);
\r
335 device.implementation.loadData('Service.Landmarks', 'Category', data_category);
\r
336 device.implementation.loadData('Service.Landmarks', 'Database', data_database);
\r