...
|
...
|
@@ -33,13 +33,14 @@ var mapClass = {
|
33
|
33
|
(m.device.data.mapclip.right + m.device.data.mapclip.left) / 2,
|
34
|
34
|
(m.device.data.mapclip.bottom + m.device.data.mapclip.top) / 2);
|
35
|
35
|
|
36
|
|
- m.layers = {};
|
37
|
|
- m.layers.tiles = MapTiles.new(m.device, m.group);
|
38
|
|
- m.layers.route = MapRoute.new(m.device, m.group);
|
39
|
|
- m.layers.navaids = MapNavaids.new(m.device, m.group);
|
|
36
|
+ m.layers = {
|
|
37
|
+ tiles : MapTiles.new(m.device, m.group),
|
|
38
|
+ route : MapRoute.new(m.device, m.group),
|
|
39
|
+ navaids : MapNavaids.new(m.device, m.group),
|
|
40
|
+ };
|
40
|
41
|
if (m.device.role == 'MFD') {
|
41
|
|
- m.layers.tcas = MapTcas.new(m.device, m.group);
|
42
|
|
- m.layers.topo = MapTopo.new(m.device, m.group);
|
|
42
|
+ m.layers.tcas = MapTcas.new(m.device, m.group);
|
|
43
|
+ m.layers.topo = MapTopo.new(m.device, m.group);
|
43
|
44
|
m.layers.track = MapTrack.new(m.device, m.group);
|
44
|
45
|
}
|
45
|
46
|
|