|
@@ -6,7 +6,6 @@ import { Column } from "@saga-web/big/lib/types/floor/Column";
|
|
|
import { VirtualWall } from "@saga-web/big/lib/types/floor/VirtualWall";
|
|
|
import { Wall } from "@saga-web/big/lib/types/floor/Wall";
|
|
|
import Axios from "axios";
|
|
|
-import { Door } from "@saga-web/big/lib/types/floor/Door";
|
|
|
|
|
|
/**
|
|
|
* 蜂鸟数据解析器
|
|
@@ -252,7 +251,7 @@ export class SFengParser extends SParser {
|
|
|
let searchAnalyser = new fengmap.FMSearchAnalyser(this.fmap);
|
|
|
// 创建搜索请求体对象
|
|
|
let searchReq = new fengmap.FMSearchRequest();
|
|
|
- const maxx = this.fmap.maxX;
|
|
|
+ const minx = this.fmap.minX;
|
|
|
const maxy = this.fmap.maxY;
|
|
|
searchReq.groupID = groupId;
|
|
|
searchReq.type = "Model";
|
|
@@ -270,7 +269,7 @@ export class SFengParser extends SParser {
|
|
|
outline = [];
|
|
|
for (let i = 0; i < arr.length - 1; i += 2) {
|
|
|
outline.push({
|
|
|
- X: arr[i] - maxx,
|
|
|
+ X: arr[i] - minx,
|
|
|
Y: arr[i + 1] - maxy
|
|
|
});
|
|
|
}
|
|
@@ -304,7 +303,7 @@ export class SFengParser extends SParser {
|
|
|
pList.push({
|
|
|
Name: t.target.name,
|
|
|
Pos: {
|
|
|
- X: t.mapCoord.x - maxx,
|
|
|
+ X: t.mapCoord.x - minx,
|
|
|
Y: t.mapCoord.y - maxy
|
|
|
},
|
|
|
Type: t.typeID,
|