2 Conflicts=getty@tty1.service
5 # map viewr is a child application which can work with navigation.
6 # This app requires mapdata. It has to be stored at /var/mapdata/navi_data_UK .
7 # currently the position to be shown is 384x368 surface on screen 1 for CES2017 cluster demo.
10 Environment=NAVI_DATA_DIR=/var/mapdata/navi_data_UK/japan_TR9 XDG_RUNTIME_DIR=/run/user/0
11 ExecStartPre=/bin/sleep 5
12 ExecStart=/usr/bin/mapview
13 ExecStartPost=/usr/bin/LayerManagerControl create layer 1000 1920 1080
14 ExecStartPost=/usr/bin/LayerManagerControl set layer 1000 render order 0x1000000
15 ExecStartPost=/usr/bin/LayerManagerControl set surface 0x1000000 source region 0 0 384 368
16 ExecStartPost=/usr/bin/LayerManagerControl set surface 0x000000 destination region 0 0 384 368
17 ExecStartPost=/usr/bin/LayerManagerControl set screen 1 render order 1000
18 ExecStartPost=/usr/bin/LayerManagerControl set layer 1000 visibility 1
19 ExecStartPost=/usr/bin/LayerManagerControl set surface 0x1000000 visibility 1
21 ExecStop=/usr/bin/killall -s KILL mapview
25 WantedBy=multi-user.target