@ray-js/robot-map 0.0.2-beta-22 → 0.0.2-beta-23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -52,7 +52,9 @@ export default Render({
|
|
|
52
52
|
this.mapInstance.drawMap(decodeMapStructured(map))
|
|
53
53
|
} else {
|
|
54
54
|
// 点云结构地图数据
|
|
55
|
-
const rasterMapData = decodeMap(map
|
|
55
|
+
const rasterMapData = decodeMap(map, {
|
|
56
|
+
pointsStructured: true,
|
|
57
|
+
})
|
|
56
58
|
if (rasterMapData) {
|
|
57
59
|
this.mapInstance.drawRasterMap(rasterMapData)
|
|
58
60
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/robot-map",
|
|
3
|
-
"version": "0.0.2-beta-
|
|
3
|
+
"version": "0.0.2-beta-23",
|
|
4
4
|
"description": "机器人地图组件",
|
|
5
5
|
"main": "lib/index",
|
|
6
6
|
"files": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@ray-js/ray": "^1.7.39"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ray-js/robot-map-sdk": "0.0.3-beta-
|
|
35
|
+
"@ray-js/robot-map-sdk": "0.0.3-beta-30",
|
|
36
36
|
"clsx": "^1.2.1",
|
|
37
37
|
"nanoid": "^5.1.6"
|
|
38
38
|
},
|