UIAnchor.js 502 B

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