
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
cesium-pocket
Advanced tools
Cesium + Vue3 + Vite 的口袋式轻量级组件工具库。服务于webGIS开发人员,面向三维数字孪生,可视化大屏业务场景。 作者联系方式 微信:brilliant201306 官方网站:cesium-pocket官网
npm i cesium-pocket --save
pnpm i cesium-pocket //推荐
yarn add cesium-pocket
npm i vue //vue3版本
npm i cesium --save
npm i vite-plugin-cesium --save
npm i three --save
npm i @types/three //ts语言需要
/* 推荐pnpm */
pnpm i vue //vue3版本
pnpm i cesium
pnpm i vite-plugin-cesium
pnpm i three
pnpm i @types/three //ts语言需要
yarn add vue
yarn add cesium
yarn add vite-plugin-cesium
yarn add three
yarn add @types/three //ts语言需要
推荐使用vue3 + vite + ts + cesium + threejs
vue >=3.3 vite >=4.0 cesium >= 1.139 three >= r174
按需导入:
//业务组件内
import 'cesium-pocket/index.css'
import { cpCompass, cpRuler, cpCoord,mfOverlay, cpPin } from 'cesium-pocket' //罗盘、比例尺、中心点实时坐标,覆盖面板,大头针
全局导入:
//main.js
import 'cesium-pocket/index.css'
import CesiumPocket from 'cesium-pocket'
const app = createApp(App);
app.use(CesiumPocket)
cesium相关内容请参考 cesium官网
cesium相关内容请参考 threejs官网
css相关内容请参考 菜鸟教程css
css相关内容请参考 菜鸟教程js
css相关内容请参考 菜鸟教程vue3
FAQs
cesium的插件库;基于vue3的开发
The npm package cesium-pocket receives a total of 1,093 weekly downloads. As such, cesium-pocket popularity was classified as popular.
We found that cesium-pocket demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.