Commit acfd4b99 authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

erp5_officejs_drone_capture_flag: fix map margin for small maps

parent 71fa7636
...@@ -555,8 +555,8 @@ var MapManager = /** @class */ (function () { ...@@ -555,8 +555,8 @@ var MapManager = /** @class */ (function () {
largeGroundBottom.renderingGroupId = 1; largeGroundBottom.renderingGroupId = 1;
// Terrain // Terrain
// Give map some margin from the flight limits // Give map some margin from the flight limits
width = _this.map_info.width * 1.10; width = _this.map_info.width * 1.30;
depth = _this.map_info.depth * 1.10; depth = _this.map_info.depth * 1.30;
//height = _this.map_info.height; //height = _this.map_info.height;
terrain = scene.getMeshByName("terrain001"); terrain = scene.getMeshByName("terrain001");
terrain.isVisible = true; terrain.isVisible = true;
......
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1017.22725.640.819</string> </value> <value> <string>1017.22735.36044.31948</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1718719147.27</float> <float>1718719762.65</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -586,8 +586,8 @@ var MapManager = /** @class */ (function () { ...@@ -586,8 +586,8 @@ var MapManager = /** @class */ (function () {
largeGroundBottom.renderingGroupId = 1; largeGroundBottom.renderingGroupId = 1;
// Terrain // Terrain
// Give map some margin from the flight limits // Give map some margin from the flight limits
width = _this.map_info.width * 1.10; width = _this.map_info.width * 1.30;
depth = _this.map_info.depth * 1.10; depth = _this.map_info.depth * 1.30;
//height = _this.map_info.height; //height = _this.map_info.height;
terrain = scene.getMeshByName("terrain001"); terrain = scene.getMeshByName("terrain001");
terrain.isVisible = true; terrain.isVisible = true;
......
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1017.22776.41595.21691</string> </value> <value> <string>1017.22776.49981.4147</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1718722125.71</float> <float>1718722284.77</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment