
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
vue-map-sense
Advanced tools
图片缩放, 支持画框,轨迹动画等
| 属性 | 说明 | 类型 | 必填 | 可选值 | 默认值 |
|---|---|---|---|---|---|
| src | 图片 | String | 必填 | / | / |
| layers | 展示层 | Array | 非必填 | ["live","device","fence","point"] | ["fence", "device"] |
| deviceType | 设备类型 | Array | 非必填 | ["camera","track"] | ["camera] |
| enableZoom | 支持放大 | Boolean | 非必填 | true/false | true |
| fenceData | fence数据(依赖fence layer) | Array | 非必填 | / | [] |
| liveData | live数据(依赖live layer) | Array | 非必填 | / | [] |
| deviceData | device数据(依赖device layer) | Array | 非必填 | / | [] |
| pointData | point数据(依赖point layer) | Array | 非必填 | / | [] |
| mapScale | 地图缩放比 | Number | 非必填 | / | 1 |
| zoneColor | 区域颜色(依赖fence layer) | String | 非必填 | / | #52da89 |
| fenceColor | 围栏颜色(依赖fence layer) | String | 非必填 | / | #007fff |
| padding | 边距 | Number | 非必填 | / | 20 |
| liveImgs | live图标(依赖live layer) | Array | 非必填 | / | [] |
| currentScale | 原始缩放比(依赖live layer) | Number | 非必填 | / | 1 |
# 全局加载 main.js
import SenseMap from "vue-map-sense";
Vue.use(SenseMap);
# 按需加载
import { SenseMap } from "vue-map-sense";
<sense-map
src="https://hbimg.huabanimg.com/2bc7d142a0c4118c963cef5823420b67e88b40e6d202-haqV2l_fw236/format/webp"
/>
FAQs
A Vue.js project
We found that vue-map-sense demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.