mypackage_wrt/preview/data/landmarks_data.js
author victorp@symbian.org
Mon, 10 May 2010 09:27:55 +0100
changeset 50 29d06ba03163
parent 42 20be4dd42b12
permissions -rwxr-xr-x
My package wiki version 0.4 http://developer.symbian.org/wiki/index.php/My_Package_Widget/versions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
42
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
     1
/**
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
     2
 * SAPI Sample Data - Landmark
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
     3
 */
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
     4
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
     5
(function(){
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
     6
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
     7
	var data_landmark =	[{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
     8
		"id":"47",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
     9
		"LandmarkName":"Best food ever!",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    10
		"LandmarkPosition":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    11
			"Latitude":-17.5423,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    12
			"Longitude":-54.8163,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    13
			"Altitude":82,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    14
			"HAccuracy":2,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    15
			"VAccuracy":4
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    16
		},
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    17
		"CategoryInfo":["1"],
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    18
		"LandmarkDesc":"Place looks really nice.",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    19
		"LandmarkFields":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    20
			"Country":"Finland",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    21
			"City":"Tokyo",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    22
			"AreaCode":"FI-70100",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    23
			"Street":"Plains Road",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    24
			"Telephone":"+4443433434"
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    25
		}
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    26
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    27
		"id":"44",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    28
		"LandmarkName":"Food store",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    29
		"LandmarkPosition":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    30
			"Latitude":65.4233,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    31
			"Longitude":-93.4225,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    32
			"Altitude":54,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    33
			"HAccuracy":1,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    34
			"VAccuracy":1
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    35
		},
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    36
		"CategoryInfo":["10"],
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    37
		"LandmarkDesc":"Words are not enough to describe this landmark",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    38
		"LandmarkFields":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    39
			"Country":"Finland",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    40
			"City":"St. Michel",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    41
			"AreaCode":"11233",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    42
			"Street":"McKenzie Avenue",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    43
			"Telephone":"0432443343"
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    44
		}
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    45
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    46
		"id":"40",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    47
		"LandmarkName":"Hospital",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    48
		"LandmarkPosition":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    49
			"Latitude":-2.4616,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    50
			"Longitude":51.4958,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    51
			"Altitude":43,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    52
			"HAccuracy":3,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    53
			"VAccuracy":3
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    54
		},
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    55
		"CategoryInfo":["13"],
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    56
		"LandmarkDesc":"Place looks really nice.",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    57
		"LandmarkFields":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    58
			"Country":"United States of America",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    59
			"City":"London",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    60
			"AreaCode":"11233",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    61
			"Street":"Pukershire Avenue",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    62
			"Telephone":"0565645455"
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    63
		}
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    64
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    65
		"id":"45",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    66
		"LandmarkName":"John’s home",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    67
		"LandmarkPosition":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    68
			"Latitude":36.9077,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    69
			"Longitude":134.4066,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    70
			"Altitude":42,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    71
			"HAccuracy":3,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    72
			"VAccuracy":5
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    73
		},
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    74
		"CategoryInfo":["14"],
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    75
		"LandmarkDesc":"This is my favorite place",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    76
		"LandmarkFields":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    77
			"City":"Los Angeles",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    78
			"AreaCode":"00310",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    79
			"Street":"McKenzie Lane",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    80
			"Telephone":"+35854553456",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    81
			"Country":"Japan"
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    82
		}
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    83
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    84
		"id":"48",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    85
		"LandmarkName":"John’s home",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    86
		"LandmarkPosition":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    87
			"Latitude":17.1817,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    88
			"Longitude":113.4183,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    89
			"Altitude":29,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    90
			"HAccuracy":3,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    91
			"VAccuracy":2
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    92
		},
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    93
		"CategoryInfo":["3"],
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    94
		"LandmarkDesc":"Words are not enough to describe this landmark",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    95
		"LandmarkFields":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    96
			"Country":"Norway",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    97
			"City":"St. Petersburg",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    98
			"AreaCode":"FI-70100",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
    99
			"Street":"Windsor Road",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   100
			"Telephone":"+4465665456"
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   101
		}
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   102
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   103
		"id":"49",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   104
		"LandmarkName":"Nice beach",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   105
		"LandmarkPosition":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   106
			"Latitude":-22.0327,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   107
			"Longitude":-33.0193,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   108
			"Altitude":57,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   109
			"HAccuracy":1,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   110
			"VAccuracy":0
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   111
		},
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   112
		"CategoryInfo":["7"],
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   113
		"LandmarkDesc":"This is my favorite place",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   114
		"LandmarkFields":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   115
			"Telephone":"+35854553456",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   116
			"Country":"Finland",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   117
			"City":"Bangkok",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   118
			"AreaCode":"00310",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   119
			"Street":"Highland Avenue Extension"
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   120
		}
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   121
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   122
		"id":"42",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   123
		"LandmarkName":"Nice view",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   124
		"LandmarkPosition":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   125
			"Latitude":-1.5979999999999999,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   126
			"Longitude":177.5871,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   127
			"Altitude":23,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   128
			"HAccuracy":1,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   129
			"VAccuracy":4
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   130
		},
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   131
		"CategoryInfo":["5"],
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   132
		"LandmarkDesc":"Words are not enough to describe this landmark",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   133
		"LandmarkFields":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   134
			"Country":"Thailand",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   135
			"City":"St. Petersburg",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   136
			"AreaCode":"00310",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   137
			"Street":"Pukershire Avenue",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   138
			"Telephone":"0435445454"
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   139
		}
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   140
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   141
		"id":"41",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   142
		"LandmarkName":"Summer cottage",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   143
		"LandmarkPosition":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   144
			"Latitude":-80.6438,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   145
			"Longitude":78.5627,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   146
			"Altitude":60,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   147
			"HAccuracy":1,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   148
			"VAccuracy":4
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   149
		},
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   150
		"CategoryInfo":["11"],
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   151
		"LandmarkDesc":"Place looks really nice.",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   152
		"LandmarkFields":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   153
			"Country":"Thailand",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   154
			"City":"Havana",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   155
			"AreaCode":"99002",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   156
			"Street":"Eastman Street",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   157
			"Telephone":"+4465665456"
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   158
		}
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   159
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   160
		"id":"43",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   161
		"LandmarkName":"Summer cottage",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   162
		"LandmarkPosition":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   163
			"Latitude":23.6319,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   164
			"Longitude":-141.5323,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   165
			"Altitude":60,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   166
			"HAccuracy":2,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   167
			"VAccuracy":2
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   168
		},
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   169
		"CategoryInfo":["1"],
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   170
		"LandmarkDesc":"This is my favorite place",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   171
		"LandmarkFields":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   172
			"Country":"Norway",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   173
			"City":"Nairobi",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   174
			"AreaCode":"FI-70100",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   175
			"Street":"Windsor Avenue",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   176
			"Telephone":"0785434444"
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   177
		}
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   178
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   179
		"id":"46",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   180
		"LandmarkName":"Work place",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   181
		"LandmarkPosition":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   182
			"Latitude":1.7755,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   183
			"Longitude":66.132,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   184
			"Altitude":36,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   185
			"HAccuracy":5,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   186
			"VAccuracy":5
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   187
		},
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   188
		"CategoryInfo":["3"],
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   189
		"LandmarkDesc":"Delicious strawberries sold here. Must visit again sometime!",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   190
		"LandmarkFields":{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   191
			"Country":"Kenya",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   192
			"City":"Havana",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   193
			"AreaCode":"99002",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   194
			"Street":"Barnes Street",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   195
			"Telephone":"0342303777"
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   196
		}
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   197
	}];
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   198
	
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   199
	
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   200
	var data_category =	[{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   201
		"id":"1",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   202
		"CategoryName":"Accommodation",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   203
		"GlobalId":"3000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   204
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   205
		"IconIndex":16384,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   206
		"IconMaskIndex":16385
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   207
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   208
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   209
		"id":"2",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   210
		"CategoryName":"Businesses",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   211
		"GlobalId":"6000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   212
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   213
		"IconIndex":16386,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   214
		"IconMaskIndex":16387
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   215
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   216
		"id":"3",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   217
		"CategoryName":"Telecommunications",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   218
		"GlobalId":"9000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   219
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   220
		"IconIndex":16388,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   221
		"IconMaskIndex":16389
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   222
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   223
		"id":"4",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   224
		"CategoryName":"Education",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   225
		"GlobalId":"12000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   226
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   227
		"IconIndex":16390,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   228
		"IconMaskIndex":16391
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   229
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   230
		"id":"5",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   231
		"CategoryName":"Entertainment",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   232
		"GlobalId":"15000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   233
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   234
		"IconIndex":16392,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   235
		"IconMaskIndex":16393
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   236
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   237
		"id":"6",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   238
		"CategoryName":"Food and drink",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   239
		"GlobalId":"18000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   240
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   241
		"IconIndex":16394,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   242
		"IconMaskIndex":16395
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   243
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   244
		"id":"7",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   245
		"CategoryName":"Geographical locations",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   246
		"GlobalId":"21000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   247
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   248
		"IconIndex":16396,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   249
		"IconMaskIndex":16397
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   250
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   251
		"id":"8",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   252
		"CategoryName":"Outdoor activities",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   253
		"GlobalId":"24000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   254
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   255
		"IconIndex":16398,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   256
		"IconMaskIndex":16399
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   257
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   258
		"id":"9",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   259
		"CategoryName":"People",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   260
		"GlobalId":"27000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   261
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   262
		"IconIndex":16400,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   263
		"IconMaskIndex":16401
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   264
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   265
		"id":"10",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   266
		"CategoryName":"Public services",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   267
		"GlobalId":"30000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   268
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   269
		"IconIndex":16402,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   270
		"IconMaskIndex":16403
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   271
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   272
		"id":"11",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   273
		"CategoryName":"Places of worship",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   274
		"GlobalId":"33000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   275
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   276
		"IconIndex":16404,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   277
		"IconMaskIndex":16405
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   278
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   279
		"id":"12",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   280
		"CategoryName":"Shopping",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   281
		"GlobalId":"36000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   282
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   283
		"IconIndex":16406,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   284
		"IconMaskIndex":16407
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   285
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   286
		"id":"13",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   287
		"CategoryName":"Sightseeing",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   288
		"GlobalId":"39000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   289
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   290
		"IconIndex":16408,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   291
		"IconMaskIndex":16409
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   292
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   293
		"id":"14",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   294
		"CategoryName":"Sports",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   295
		"GlobalId":"42000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   296
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   297
		"IconIndex":16410,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   298
		"IconMaskIndex":16411
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   299
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   300
		"id":"15",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   301
		"CategoryName":"Transport",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   302
		"GlobalId":"45000",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   303
		"IconFile":"\resource\apps\eposlmglcategories.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   304
		"IconIndex":16412,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   305
		"IconMaskIndex":16413
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   306
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   307
		"id":"24",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   308
		"CategoryName":"All places",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   309
		"IconFile":"Z:\resource\apps\smart2go.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   310
		"IconIndex":16384,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   311
		"IconMaskIndex":16385
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   312
	},{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   313
		"id":"25",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   314
		"CategoryName":"Nokia maps",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   315
		"IconFile":"Z:\resource\apps\LmkUi.mif",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   316
		"IconIndex":16402,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   317
		"IconMaskIndex":16403
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   318
	}];
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   319
	
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   320
	var data_database =	[{
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   321
		"DatabaseURI":"file://C:eposlm.ldb",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   322
		"DatabaseName":"",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   323
		"DbProtocol":"file",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   324
		"DbActive":false,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   325
		"DbSize":226,
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   326
		"DbDrive":"C",
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   327
		"DbMedia":9
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   328
	}]; 
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   329
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   330
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   331
    /**
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   332
     * register data!
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   333
     */
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   334
    device.implementation.loadData('Service.Landmarks', 'Landmark', data_landmark);
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   335
    device.implementation.loadData('Service.Landmarks', 'Category', data_category);
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   336
    device.implementation.loadData('Service.Landmarks', 'Database', data_database);
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   337
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   338
})()
20be4dd42b12 My package widget code
victorp@symbian.org
parents:
diff changeset
   339