Repository navigation
Expand file tree
/
Copy pathexamples.txt
More file actions
43 lines (40 loc) · 1.9 KB
/
Copy pathexamples.txt
File metadata and controls
43 lines (40 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
event = {
"data": {
"selected": [
{
"title": "TITLE", "Author": "AUTHOR", "dataCenter": "DATACENTER", "color": "#ff0000",
"minLongitude": -60, "maxLongitude": -60, "minLatitude": -80, "maxLatitude": 80
},
{
"title": "TITLE", "Author": "AUTHOR", "dataCenter": "DATACENTER", "color": "#fff000",
"minLongitude": 0, "maxLongitude": 0, "minLatitude": -90, "maxLatitude": 90
},
{
"title": "TITLE", "Author": "AUTHOR", "dataCenter": "DATACENTER", "color": "#ffff00",
"minLongitude": 80, "maxLongitude": 80, "minLatitude": 70, "maxLatitude": 70
},
{
"title": "TITLE", "Author": "AUTHOR", "dataCenter": "DATACENTER", "color": "#00ff00",
"minLongitude": 40, "maxLongitude": 60, "minLatitude": 40, "maxLatitude": 60
},
]
}
}
SearchVisualization.receiveMessage(event)
####################################################################################################
####################################################################################################
####################################################################################################
event = {
"data": {
"selected": [
{
"title": "TITLE", "Author": "AUTHOR", "dataCenter": "DATACENTER", "color": "#ffff00",
"minLongitude": 80, "maxLongitude": 80, "minLatitude": 70, "maxLatitude": 70
}
]
}
}
SearchVisualization.receiveMessage(event)
####################################################################################################
####################################################################################################
####################################################################################################