/** * 创建UIAnchor界面 * @param {Object} obj - 创建界面的父物体 * @param {String} value - 创建界面的类型 */ function createUIAnchor(floorNum) { let anchorCreateJson = { type: "UIAnchor", // element: $(".pictureMarker")[0], // position: [100, -10, -21], // parent: app.query('#1F1FS01')[0], // pivotPixel: [parseFloat($(".textAndPictureMarker").css("width")) / 2, parseFloat($(".textAndPictureMarker").css("height"))],