
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
alibaba-lyj-js-marktool
Advanced tools
临云镜标注工具 SDK 主要提供了基于全景图像的空间标注能力,包括空间结构、墙线、门、窗、虚拟墙、凹凸墙、特征区等标注行为,整个 SDK 包括以下几个组成部分:
该 SDK 与框架无关,您可在 React 框架中使用,也可嵌入到 Angular\Vue 等任何框架中使用。本文档将以嵌入 React 的方式演示如何利用该 SDK 进行标注
npm i --save alibaba-lyj-js-marktool
<script src=' https://g.alicdn.com/sail-fe/aoding-marktool-sdk-umd/0.0.2/bundle.js'></script>
<script>
var { MarkTool, DrawPano } = window.SailLib
</script>
import { MarkTool } from 'alibaba-lyj-js-marktool'
MarkTool
中包含三维视图
、二维视图
、预览图
、平面图
,根据你的需要准备相应的 div 容器
<body>
<div id="Pano" />
<div id="Canvas" style={{ height: 600, width: 600 }} />
<div id="Preview" />
<div id="Plane" style={{ height: 500, width: 500 }} />
</body>
const mark = new MarkTool()
const { Pano, Preview, Plane, Canvas } = mark
Pano.registerDom(document.getElementById('Pano'))
Preview.registerDom(document.getElementById('Preview'))
Plane.registerDom(document.getElementById('Plane'))
Canvas.registerDom(document.getElementById('Canvas'))
Pano.registerConfig({
minWallHeight: 0.3, // 调整墙高最大值
maxWallHeight: 5,
})
Pano.registerEvent({
onLoad: () => {
console.log(111)
},
})
加载数据 & 创建视图
mark.setLayoutData(mockData)
详细 API 信息请查看docs
FAQs
临云镜标注工具SDK
The npm package alibaba-lyj-js-marktool receives a total of 0 weekly downloads. As such, alibaba-lyj-js-marktool popularity was classified as not popular.
We found that alibaba-lyj-js-marktool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.